hvoss-techfak commited on
Commit
01e4d41
·
verified ·
1 Parent(s): a27912a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -880,6 +880,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
880
  worker.join() # make sure it’s done
881
  except RuntimeError as e:
882
  # Show toast to user
 
883
  gr.Error(str(e)) # <-- this is the toast
884
  capture_exception(e)
885
  return create_empty_error_outputs(str(e))
 
880
  worker.join() # make sure it’s done
881
  except RuntimeError as e:
882
  # Show toast to user
883
+ log_output += str(e)
884
  gr.Error(str(e)) # <-- this is the toast
885
  capture_exception(e)
886
  return create_empty_error_outputs(str(e))