Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -77,10 +77,10 @@ def chat(message, history, openai_api_key):
|
|
77 |
|
78 |
gr.ChatInterface(
|
79 |
chat,
|
80 |
-
chatbot=gr.Chatbot(
|
81 |
textbox=gr.Textbox(placeholder="Question", container=False, scale=7),
|
82 |
title="Multi-Assistant Demo",
|
83 |
-
description="Ask
|
84 |
theme="soft",
|
85 |
cache_examples=False,
|
86 |
retry_btn=None,
|
@@ -89,6 +89,5 @@ gr.ChatInterface(
|
|
89 |
additional_inputs=[
|
90 |
gr.Textbox("sk-", label="OpenAI API Key", type = "password"),
|
91 |
],
|
92 |
-
examples=[["
|
93 |
-
["I need to solve the equation '2x + 10 = 20'. Can you help me?", "sk-<BringYourOwn>"]],
|
94 |
).launch()
|
|
|
77 |
|
78 |
gr.ChatInterface(
|
79 |
chat,
|
80 |
+
chatbot=gr.Chatbot(),
|
81 |
textbox=gr.Textbox(placeholder="Question", container=False, scale=7),
|
82 |
title="Multi-Assistant Demo",
|
83 |
+
description="Ask AAA Assistant, BBB Assistant, and CCC Assistant and any question",
|
84 |
theme="soft",
|
85 |
cache_examples=False,
|
86 |
retry_btn=None,
|
|
|
89 |
additional_inputs=[
|
90 |
gr.Textbox("sk-", label="OpenAI API Key", type = "password"),
|
91 |
],
|
92 |
+
examples=[["I need to solve the equation '2x + 10 = 20'. Can you help me?", "sk-<BringYourOwn>"]],
|
|
|
93 |
).launch()
|