Spaces:
Running
Running
Update app.py
Browse files
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,
|
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"):
|