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