hysts HF staff commited on
Commit
bbf85db
1 Parent(s): 84448a9
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -96,9 +96,11 @@ with gr.Blocks(css='style.css') as demo:
96
  queue=False)
97
  new_base_model_id.submit(fn=model.set_base_model,
98
  inputs=new_base_model_id,
99
- outputs=current_base_model)
 
100
  change_base_model_button.click(fn=model.set_base_model,
101
  inputs=new_base_model_id,
102
- outputs=current_base_model)
 
103
 
104
  demo.queue(max_size=20).launch()
 
96
  queue=False)
97
  new_base_model_id.submit(fn=model.set_base_model,
98
  inputs=new_base_model_id,
99
+ outputs=current_base_model,
100
+ api_name=False)
101
  change_base_model_button.click(fn=model.set_base_model,
102
  inputs=new_base_model_id,
103
+ outputs=current_base_model,
104
+ api_name=False)
105
 
106
  demo.queue(max_size=20).launch()