Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ def respond(
|
|
| 52 |
if 'content' in delta:
|
| 53 |
response += delta['content']
|
| 54 |
formatted_response = re.sub(r"<think>\s*(.*?)\s*</think>", r"*\1*", response, flags=re.DOTALL)
|
| 55 |
-
yield
|
| 56 |
|
| 57 |
|
| 58 |
demo = gr.ChatInterface(
|
|
|
|
| 52 |
if 'content' in delta:
|
| 53 |
response += delta['content']
|
| 54 |
formatted_response = re.sub(r"<think>\s*(.*?)\s*</think>", r"*\1*", response, flags=re.DOTALL)
|
| 55 |
+
yield response
|
| 56 |
|
| 57 |
|
| 58 |
demo = gr.ChatInterface(
|