Spaces:
Runtime error
Runtime error
brian-yu-nexusflow
commited on
Commit
Β·
b93548c
1
Parent(s):
2285cb3
Update app.py
Browse files
app.py
CHANGED
@@ -389,6 +389,7 @@ class RavenDemo(gr.Blocks):
|
|
389 |
summary_model_prompt, **SUMMARY_MODEL_GENERATION_KWARGS
|
390 |
)
|
391 |
for s in stream:
|
|
|
392 |
for c in s:
|
393 |
summary_model_summary += c
|
394 |
summary_model_summary = (
|
|
|
389 |
summary_model_prompt, **SUMMARY_MODEL_GENERATION_KWARGS
|
390 |
)
|
391 |
for s in stream:
|
392 |
+
s = s.removesuffix("<|end_of_turn|>")
|
393 |
for c in s:
|
394 |
summary_model_summary += c
|
395 |
summary_model_summary = (
|