niulx commited on
Commit
7a71877
1 Parent(s): ed7479e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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