huohguohbo commited on
Commit
4d06555
·
1 Parent(s): cd47609

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -76,7 +76,16 @@ def chatbot(chat_window, message, mode, model, hf_model, api_key):
76
  # Define the Gradio interface for chatbot
77
  chat_interface = gr.Interface(
78
  fn=chatbot,
79
- inputs=gr.inputs.Group([message_input, mode_input, model_input, hf_model_input, api_key_input]),
 
 
 
 
 
 
 
 
 
80
  outputs=output,
81
  title="Chatbot",
82
  description="Enter your message below to chat with an AI",
 
76
  # Define the Gradio interface for chatbot
77
  chat_interface = gr.Interface(
78
  fn=chatbot,
79
+ inputs=gr.inputs.Panel(
80
+ [
81
+ message_input,
82
+ mode_input,
83
+ model_input,
84
+ hf_model_input,
85
+ api_key_input
86
+ ],
87
+ title="Chatbot Inputs"
88
+ ),
89
  outputs=output,
90
  title="Chatbot",
91
  description="Enter your message below to chat with an AI",