Spaces:
Running
Running
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -830,7 +830,7 @@ if atoms is not None:
|
|
| 830 |
|
| 831 |
if run_calculation:
|
| 832 |
results = {}
|
| 833 |
-
global
|
| 834 |
opt_log = [] # Reset log for each run
|
| 835 |
if "Optimization" in task:
|
| 836 |
table_placeholder = st.empty() # Recreate placeholder for table
|
|
|
|
| 830 |
|
| 831 |
if run_calculation:
|
| 832 |
results = {}
|
| 833 |
+
global table_placeholder # Ensure they are accessible
|
| 834 |
opt_log = [] # Reset log for each run
|
| 835 |
if "Optimization" in task:
|
| 836 |
table_placeholder = st.empty() # Recreate placeholder for table
|