Spaces:
Runtime error
Runtime error
Update config.toml
Browse files- config.toml +2 -4
config.toml
CHANGED
|
@@ -1,5 +1,3 @@
|
|
| 1 |
-
# Streamlit Cloud defaults to Python 3.12, which can break native modules like opencv-python.
|
| 2 |
-
# Pinning Python 3.11 ensures compatibility with the local dev environment (Python 3.11.11).
|
| 3 |
-
# Force Python 3.11 to avoid OpenCV/Torch compatibility issues on Streamlit Cloud
|
| 4 |
[tool.streamlit]
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
[tool.streamlit]
|
| 2 |
+
main = "app.py" # entrypoint for the app
|
| 3 |
+
pythonVersion = "3.11" # required to avoid OpenCV/Torch issues
|