UnarineLeo commited on
Commit
2a8e978
·
verified ·
1 Parent(s): 21b365a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -230,7 +230,7 @@ with gr.Blocks(title="English to Venda Translator", theme=gr.themes.Soft()) as d
230
  return get_model_status()
231
 
232
  # Set up periodic status updates
233
- demo.load(lambda: get_model_status(), outputs=status_indicator, every=3)
234
 
235
  with gr.Tab("Single Translation"):
236
  with gr.Row():
 
230
  return get_model_status()
231
 
232
  # Set up periodic status updates
233
+ demo.load(fn=update_status, outputs=status_indicator)
234
 
235
  with gr.Tab("Single Translation"):
236
  with gr.Row():