Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def inference(message, history, systemPrompt=SYSTEM_PROMPT, temperature=0.9, max
|
|
| 43 |
partial_response = ""
|
| 44 |
for stream_part in stream:
|
| 45 |
partial_response += stream_part.token.text
|
| 46 |
-
|
| 47 |
return partial_response.removesuffix("<|END_OF_TURN_TOKEN|>")
|
| 48 |
|
| 49 |
|
|
|
|
| 43 |
partial_response = ""
|
| 44 |
for stream_part in stream:
|
| 45 |
partial_response += stream_part.token.text
|
| 46 |
+
|
| 47 |
return partial_response.removesuffix("<|END_OF_TURN_TOKEN|>")
|
| 48 |
|
| 49 |
|