Spaces:
Sleeping
Sleeping
Create app.py
Browse files- src/app/app.py +11 -0
src/app/app.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
import os
|
| 3 |
+
|
| 4 |
+
# Add the /app/src directory to Python path
|
| 5 |
+
sys.path.append(os.path.join(os.path.dirname(__file__), "src"))
|
| 6 |
+
|
| 7 |
+
# Now import the Streamlit app correctly
|
| 8 |
+
from src.app.main_app import main
|
| 9 |
+
|
| 10 |
+
if __name__ == "__main__":
|
| 11 |
+
main()
|