Spaces:
Runtime error
Runtime error
Commit
·
510db3b
1
Parent(s):
a14444c
Update app.py
Browse files
app.py
CHANGED
@@ -49,6 +49,7 @@ def format_chat_prompt(message: str, chat_history, instructions: str) -> str:
|
|
49 |
|
50 |
|
51 |
def chat(client: Client):
|
|
|
52 |
with gr.Column(elem_id="chat_container"):
|
53 |
with gr.Row():
|
54 |
chatbot = gr.Chatbot(elem_id="chatbot")
|
@@ -90,7 +91,7 @@ def chat(client: Client):
|
|
90 |
["Can you tell me more about deep-water soloing?"],
|
91 |
["Can you write a short tweet about the Apache 2.0 release of our latest AI model, Falcon LLM?"],
|
92 |
],
|
93 |
-
|
94 |
inputs=inputs,
|
95 |
label="Click on any example and press Enter in the input textbox!",
|
96 |
)
|
|
|
49 |
|
50 |
|
51 |
def chat(client: Client):
|
52 |
+
inputs = gr.Row(input_text, enter_button)
|
53 |
with gr.Column(elem_id="chat_container"):
|
54 |
with gr.Row():
|
55 |
chatbot = gr.Chatbot(elem_id="chatbot")
|
|
|
91 |
["Can you tell me more about deep-water soloing?"],
|
92 |
["Can you write a short tweet about the Apache 2.0 release of our latest AI model, Falcon LLM?"],
|
93 |
],
|
94 |
+
|
95 |
inputs=inputs,
|
96 |
label="Click on any example and press Enter in the input textbox!",
|
97 |
)
|