devilent2 commited on
Commit
ecdd55f
1 Parent(s): 5c315ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -219,7 +219,7 @@ demo = gr.Blocks()
219
 
220
  #@spaces.GPU
221
  def onload():
222
- return update_status(),'';
223
 
224
 
225
  with demo:
@@ -242,7 +242,7 @@ with demo:
242
  graudio.stop_recording(handle_upload_audio, inputs=[graudio, grmodel_textbox, groutputs[0]], outputs=groutputs)
243
  graudio.upload(handle_upload_audio, inputs=[graudio, grmodel_textbox, groutputs[0]], outputs=groutputs)
244
  # Load the initial status using update_status function
245
- demo.load(onload, inputs=None, outputs=groutputs, queue=False)
246
 
247
 
248
 
 
219
 
220
  #@spaces.GPU
221
  def onload():
222
+ return "System Status: "+update_status();
223
 
224
 
225
  with demo:
 
242
  graudio.stop_recording(handle_upload_audio, inputs=[graudio, grmodel_textbox, groutputs[0]], outputs=groutputs)
243
  graudio.upload(handle_upload_audio, inputs=[graudio, grmodel_textbox, groutputs[0]], outputs=groutputs)
244
  # Load the initial status using update_status function
245
+ demo.load(onload, inputs=None, outputs=sys_status_output, queue=False)
246
 
247
 
248