CB commited on
Commit
6d71b99
·
verified ·
1 Parent(s): ce610fd

Update streamlit_app.py

Browse files
Files changed (1) hide show
  1. streamlit_app.py +1 -1
streamlit_app.py CHANGED
@@ -446,7 +446,7 @@ if generate_now and not st.session_state.get("busy"):
446
  except Exception as e:
447
  st.session_state["last_error"] = f"Upload failed for {upload_path}: {e}\n{traceback.format_exc()}"
448
  st.error(f"Upload failed: {e}. Check the error log for more details.")
449
- return # Prevent further processing.
450
 
451
  try:
452
  processing_placeholder = st.empty()
 
446
  except Exception as e:
447
  st.session_state["last_error"] = f"Upload failed for {upload_path}: {e}\n{traceback.format_exc()}"
448
  st.error(f"Upload failed: {e}. Check the error log for more details.")
449
+ raise
450
 
451
  try:
452
  processing_placeholder = st.empty()