Omnibus commited on
Commit
c96912f
1 Parent(s): 1d73b44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -58,6 +58,6 @@ with gr.Blocks() as app:
58
  with gr.Group():
59
  stop_btn=gr.Button("Stop")
60
  clear_btn=gr.Button("Clear")
61
- chatblock=gr.Dropdown(label="Chatblocks",type='index',choices=[c for c in models],value=1)
62
- btn.click(chat_inf,[sys_inp,inp,chat_b],chat_b)
63
  app.launch()
 
58
  with gr.Group():
59
  stop_btn=gr.Button("Stop")
60
  clear_btn=gr.Button("Clear")
61
+ client_choice=gr.Dropdown(label="Models",type='index',choices=[c for c in models],value=models[0],interactive=True)
62
+ btn.click(chat_inf,[sys_inp,inp,chat_b,client_choice],chat_b)
63
  app.launch()