Spaces:
Runtime error
Runtime error
Commit
·
4d06555
1
Parent(s):
cd47609
Update app.py
Browse files
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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",
|