Spaces:
Sleeping
Sleeping
bluestpanda
commited on
Commit
·
bdcc01d
1
Parent(s):
97b410a
Fix StreamlitAPIException: Remove runtime maxUploadSize setting
Browse files- Removed st.set_option() call that was causing the error
- Upload size limit is still configured via .streamlit/config.toml and Dockerfile
- App now starts without errors while maintaining 1GB upload limit
- src/streamlit_app.py +0 -3
src/streamlit_app.py
CHANGED
|
@@ -17,9 +17,6 @@ st.set_page_config(
|
|
| 17 |
layout="wide"
|
| 18 |
)
|
| 19 |
|
| 20 |
-
# Configure upload size limit (1 GB)
|
| 21 |
-
st.set_option("server.maxUploadSize", 1024) # 1024 MB = 1 GB
|
| 22 |
-
|
| 23 |
# Import our modules
|
| 24 |
try:
|
| 25 |
from structure_analysis import (
|
|
|
|
| 17 |
layout="wide"
|
| 18 |
)
|
| 19 |
|
|
|
|
|
|
|
|
|
|
| 20 |
# Import our modules
|
| 21 |
try:
|
| 22 |
from structure_analysis import (
|