Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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))
|