Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
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()
|