Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,10 +48,10 @@ def respond(
|
|
| 48 |
for index, event in enumerate(completion):
|
| 49 |
if hasattr(event.choices[0].delta, 'reasoning_content'):
|
| 50 |
if index == 0:
|
| 51 |
-
response += '
|
| 52 |
token = event.choices[0].delta.reasoning_content
|
| 53 |
else:
|
| 54 |
-
response += '
|
| 55 |
token = event.choices[0].delta.content
|
| 56 |
# if message.find('εδΈη―ε
³δΊιζ₯ηδΊθ¨η»ε₯') != -1:
|
| 57 |
# print(11111111111)
|
|
|
|
| 48 |
for index, event in enumerate(completion):
|
| 49 |
if hasattr(event.choices[0].delta, 'reasoning_content'):
|
| 50 |
if index == 0:
|
| 51 |
+
response += '> **εΌε§ζθ**\n\n'
|
| 52 |
token = event.choices[0].delta.reasoning_content
|
| 53 |
else:
|
| 54 |
+
response += '> **η»ζζθ**\n\n'
|
| 55 |
token = event.choices[0].delta.content
|
| 56 |
# if message.find('εδΈη―ε
³δΊιζ₯ηδΊθ¨η»ε₯') != -1:
|
| 57 |
# print(11111111111)
|