Update run_ui.py
Browse files
run_ui.py
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
#!/usr/bin/env python
|
| 2 |
# Script to run the Streamlit UI for AI Co-Scientist
|
| 3 |
|
|
@@ -17,4 +21,4 @@ if __name__ == "__main__":
|
|
| 17 |
print("Starting AI Co-Scientist UI...")
|
| 18 |
# Run the Streamlit app
|
| 19 |
sys.argv = ["streamlit", "run", str(project_root / "src" / "ui" / "streamlit_app.py")]
|
| 20 |
-
sys.exit(stcli.main())
|
|
|
|
| 1 |
+
# This file is not needed for Hugging Face Spaces.
|
| 2 |
+
# Please set app_file: src/ui/streamlit_app.py in your Spaces configuration.
|
| 3 |
+
# The actual Streamlit UI logic is in src/ui/streamlit_app.py
|
| 4 |
+
|
| 5 |
#!/usr/bin/env python
|
| 6 |
# Script to run the Streamlit UI for AI Co-Scientist
|
| 7 |
|
|
|
|
| 21 |
print("Starting AI Co-Scientist UI...")
|
| 22 |
# Run the Streamlit app
|
| 23 |
sys.argv = ["streamlit", "run", str(project_root / "src" / "ui" / "streamlit_app.py")]
|
| 24 |
+
sys.exit(stcli.main())
|