Spaces:
Sleeping
Sleeping
Milind Kamat
commited on
Commit
·
ca54b24
1
Parent(s):
3d60be0
2024 Dec 30 :update
Browse filesSigned-off-by: Milind Kamat <36366961+milindkamat0507@users.noreply.github.com>
app.py
CHANGED
|
@@ -379,8 +379,6 @@ class StreamlitTutorial:
|
|
| 379 |
]
|
| 380 |
|
| 381 |
|
| 382 |
-
|
| 383 |
-
|
| 384 |
def render_input_elements(self, col: st.delta_generator.DeltaGenerator) -> None:
|
| 385 |
"""Cross-validated rendering method with proper key handling"""
|
| 386 |
with col:
|
|
@@ -400,7 +398,9 @@ class StreamlitTutorial:
|
|
| 400 |
# Execute the code with unique keys
|
| 401 |
exec(code)
|
| 402 |
except Exception as e:
|
| 403 |
-
st.error(f"Error: {str(e)}")
|
|
|
|
|
|
|
| 404 |
|
| 405 |
|
| 406 |
def render_help_section(self, col: st.delta_generator.DeltaGenerator) -> None:
|
|
|
|
| 379 |
]
|
| 380 |
|
| 381 |
|
|
|
|
|
|
|
| 382 |
def render_input_elements(self, col: st.delta_generator.DeltaGenerator) -> None:
|
| 383 |
"""Cross-validated rendering method with proper key handling"""
|
| 384 |
with col:
|
|
|
|
| 398 |
# Execute the code with unique keys
|
| 399 |
exec(code)
|
| 400 |
except Exception as e:
|
| 401 |
+
st.error(f"Error: {str(e)}")
|
| 402 |
+
|
| 403 |
+
|
| 404 |
|
| 405 |
|
| 406 |
def render_help_section(self, col: st.delta_generator.DeltaGenerator) -> None:
|