yxmauw commited on
Commit
641e0be
1 Parent(s): 58ab538

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ with gr.Blocks(
38
  # Link the dropdown with the textbox to update the description based on the selected model
39
  model_dropdown.change(fn=llm_intro, inputs=model_dropdown, outputs=explanation)
40
 
41
- gr.Image(interactive=False, value="https://huggingface.co/spaces/yxmauw/chatbot/blob/main/space_hardware.png")
42
 
43
  with gr.Column(scale=4, elem_id='col'):
44
  chatbot = gr.Chatbot(label="Chatroom", value=[(None, "How may I help you today?")], elem_id="chatbot")
 
38
  # Link the dropdown with the textbox to update the description based on the selected model
39
  model_dropdown.change(fn=llm_intro, inputs=model_dropdown, outputs=explanation)
40
 
41
+ gr.Image(interactive=False, value="https://huggingface.co/spaces/yxmauw/chatbot/blob/main/space_hardware.png", type="filepath", image_mode="RGBA")
42
 
43
  with gr.Column(scale=4, elem_id='col'):
44
  chatbot = gr.Chatbot(label="Chatroom", value=[(None, "How may I help you today?")], elem_id="chatbot")