Update app.py
Browse files
app.py
CHANGED
@@ -47,6 +47,7 @@ def respond(
|
|
47 |
if 'content' in delta:
|
48 |
response += delta['content']
|
49 |
formatted_response = re.sub(r'<think>(.*?)</think>', r'*\1*', response)
|
|
|
50 |
yield formatted_response
|
51 |
|
52 |
|
|
|
47 |
if 'content' in delta:
|
48 |
response += delta['content']
|
49 |
formatted_response = re.sub(r'<think>(.*?)</think>', r'*\1*', response)
|
50 |
+
print(f"*- {response}")
|
51 |
yield formatted_response
|
52 |
|
53 |
|