Spaces:
Sleeping
Sleeping
devjas1
commited on
Commit
·
1afd9f6
1
Parent(s):
8c75a82
fix(results): Remove unnecessary session results table and button from results column
Browse files- modules/ui_components.py +2 -10
modules/ui_components.py
CHANGED
|
@@ -401,15 +401,6 @@ def render_results_column():
|
|
| 401 |
batch_results = st.session_state["batch_results"]
|
| 402 |
display_batch_results(batch_results)
|
| 403 |
|
| 404 |
-
# Add session results table
|
| 405 |
-
st.markdown("---")
|
| 406 |
-
|
| 407 |
-
st.button(
|
| 408 |
-
"Clear Results",
|
| 409 |
-
on_click=clear_batch_results,
|
| 410 |
-
help="Clear all uploaded files and results.",
|
| 411 |
-
)
|
| 412 |
-
|
| 413 |
ResultsManager.display_results_table()
|
| 414 |
|
| 415 |
elif st.session_state.get("inference_run_once", False) and not is_batch_mode:
|
|
@@ -805,7 +796,8 @@ def render_results_column():
|
|
| 805 |
- Well-preserved molecular structure
|
| 806 |
- Minimal oxidative degradation
|
| 807 |
- Characteristic Raman peaks intact
|
| 808 |
-
-
|
|
|
|
| 809 |
"""
|
| 810 |
)
|
| 811 |
|
|
|
|
| 401 |
batch_results = st.session_state["batch_results"]
|
| 402 |
display_batch_results(batch_results)
|
| 403 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 404 |
ResultsManager.display_results_table()
|
| 405 |
|
| 406 |
elif st.session_state.get("inference_run_once", False) and not is_batch_mode:
|
|
|
|
| 796 |
- Well-preserved molecular structure
|
| 797 |
- Minimal oxidative degradation
|
| 798 |
- Characteristic Raman peaks intact
|
| 799 |
+
-
|
| 800 |
+
itable for recycling applications
|
| 801 |
"""
|
| 802 |
)
|
| 803 |
|