svjack commited on
Commit
0c3c7f0
1 Parent(s): 508a796

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -212,7 +212,7 @@ with gr.Blocks(css=css) as demo:
212
 
213
  with gr.Row(elem_id="prompt-container"):
214
  btn_refresh = gr.Button(value="Refresh to get deployed models")
215
- btn_refresh.click(None, _js="window.location.reload()")
216
  current_model = gr.Dropdown(label="Current Model", choices=list_models, value=list_models[0])
217
 
218
  with gr.Row(elem_id="prompt-container"):
 
212
 
213
  with gr.Row(elem_id="prompt-container"):
214
  btn_refresh = gr.Button(value="Refresh to get deployed models")
215
+ btn_refresh.click(None, js="window.location.reload()")
216
  current_model = gr.Dropdown(label="Current Model", choices=list_models, value=list_models[0])
217
 
218
  with gr.Row(elem_id="prompt-container"):