Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ def inference(message, history, systemPrompt=SYSTEM_PROMPT, temperature=0.9, max
|
|
| 46 |
partial_response = ""
|
| 47 |
for stream_part in stream:
|
| 48 |
partial_response += stream_part.token.text
|
| 49 |
-
|
| 50 |
|
| 51 |
|
| 52 |
|
|
|
|
| 46 |
partial_response = ""
|
| 47 |
for stream_part in stream:
|
| 48 |
partial_response += stream_part.token.text
|
| 49 |
+
#partial_response= partial_response.removesuffix()
|
| 50 |
|
| 51 |
|
| 52 |
|