This repository was archived by the owner on May 19, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathapp.py
More file actions
45 lines (36 loc) · 1.27 KB
/
Copy pathapp.py
File metadata and controls
45 lines (36 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# WhisperForge - Main Application Redirect
#
# This file redirects to the current main application: app_simple.py
#
# The old OAuth version has been archived
import streamlit as st
import os
# Page config
st.set_page_config(
page_title="WhisperForge - Redirect",
page_icon="🌌",
layout="wide"
)
st.error("""
🔄 **Application Redirect**
You're accessing the old app.py file. The main application has moved to `app_simple.py`.
**Current Status:**
- ✅ Main App: `app_simple.py` (v3.0.0 with large file processing)
- 🔄 This File: Redirect notice
**To run the main app:**
```bash
streamlit run app_simple.py
```
**Note:** The Procfile has been updated to use app_simple.py for production deployment.
""")
st.info("This redirect will be removed in a future version. Please update your bookmarks and scripts to use `app_simple.py`.")
# Show current working directory and available files
st.markdown("### Available Files:")
files = [f for f in os.listdir(".") if f.endswith(".py") and f.startswith("app")]
for file in sorted(files):
if file == "app_simple.py":
st.success(f"✅ **{file}** (Main Application)")
elif "deprecated" in file or "backup" in file:
st.warning(f"⚠️ **{file}** (Deprecated)")
else:
st.info(f"ℹ️ **{file}**")