Update app.py
Browse files
app.py
CHANGED
@@ -42,9 +42,9 @@ def respond(
|
|
42 |
token = client(
|
43 |
messages, max_new_tokens= max_tokens
|
44 |
)
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
|
49 |
"""
|
50 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
|
|
42 |
token = client(
|
43 |
messages, max_new_tokens= max_tokens
|
44 |
)
|
45 |
+
print(token)
|
46 |
+
response += token
|
47 |
+
yield response
|
48 |
|
49 |
"""
|
50 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|