Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -244,6 +244,7 @@ with gr.Blocks() as demo:
|
|
244 |
gr.Info("Optimization Finished! Move to the next step.")
|
245 |
return "Optimization finished! Move to the next step.",gr.Button("Run Editing (Check log for progress.)",interactive = True)
|
246 |
except Exception as e:
|
|
|
247 |
gr.Error("e")
|
248 |
return "Error: use a smaller batch size or try latter.",gr.Button("Run Editing (Check log for progress.)",interactive = False)
|
249 |
|
|
|
244 |
gr.Info("Optimization Finished! Move to the next step.")
|
245 |
return "Optimization finished! Move to the next step.",gr.Button("Run Editing (Check log for progress.)",interactive = True)
|
246 |
except Exception as e:
|
247 |
+
print(e)
|
248 |
gr.Error("e")
|
249 |
return "Error: use a smaller batch size or try latter.",gr.Button("Run Editing (Check log for progress.)",interactive = False)
|
250 |
|