broadfield commited on
Commit
9b90345
·
verified ·
1 Parent(s): f8a4b30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -212,8 +212,8 @@ with gr.Blocks() as ux:
212
  with gr.Column():
213
  gr.HTML("""<center><div style='font-size:xx-large;font-weight:900;'>Chatbo</div>""")
214
  chatbot=gr.Chatbot(type='messages',show_label=False, show_share_button=False, show_copy_button=True, layout="panel")
215
- prompt=gr.MultimodalTextbox(label="Prompt",file_count="multiple", file_types=["image"])
216
- chat_ux=gr.ChatInterface(fn=agent,chatbot=chatbot,textbox=prompt)
217
  mod_c=gr.Dropdown(choices=[n['name'] for n in clients],value='Qwen/Qwen2.5-Coder-32B-Instruct',type='index')
218
  chat_ux.additional_inputs=[mod_c]
219
  chat_ux.load()
 
212
  with gr.Column():
213
  gr.HTML("""<center><div style='font-size:xx-large;font-weight:900;'>Chatbo</div>""")
214
  chatbot=gr.Chatbot(type='messages',show_label=False, show_share_button=False, show_copy_button=True, layout="panel")
215
+ #prompt=gr.MultimodalTextbox(label="Prompt",file_count="multiple", file_types=["image"])
216
+ chat_ux=gr.ChatInterface(fn=agent,chatbot=chatbot)
217
  mod_c=gr.Dropdown(choices=[n['name'] for n in clients],value='Qwen/Qwen2.5-Coder-32B-Instruct',type='index')
218
  chat_ux.additional_inputs=[mod_c]
219
  chat_ux.load()