Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -41,9 +41,9 @@ def generate(
|
|
41 |
for response in stream:
|
42 |
output += response.token.text
|
43 |
yield output
|
44 |
-
return output
|
45 |
|
46 |
-
output = gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel")
|
47 |
additional_inputs=[
|
48 |
gr.Textbox(
|
49 |
label="Prompt",
|
|
|
41 |
for response in stream:
|
42 |
output += response.token.text
|
43 |
yield output
|
44 |
+
return output,output
|
45 |
|
46 |
+
output = [gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),chat_state]
|
47 |
additional_inputs=[
|
48 |
gr.Textbox(
|
49 |
label="Prompt",
|