Spaces:
Runtime error
Runtime error
Commit
·
cd47609
1
Parent(s):
0a278b8
Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ 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=[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.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",
|