Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def respond(
|
|
42 |
eos_token_id=terminators,
|
43 |
)
|
44 |
|
45 |
-
yield outputs[0]["generated_text"][-1]
|
46 |
|
47 |
"""
|
48 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
|
|
42 |
eos_token_id=terminators,
|
43 |
)
|
44 |
|
45 |
+
yield outputs[0]["generated_text"][-1]["content"]
|
46 |
|
47 |
"""
|
48 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|