Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def predict(message, history):
|
|
85 |
temperature=0,
|
86 |
stream=True)
|
87 |
|
88 |
-
partial_message = "🤖 {model}:\n".format(model=model)
|
89 |
for chunk in response:
|
90 |
if chunk.choices[0].delta.content is not None:
|
91 |
partial_message = partial_message + chunk.choices[0].delta.content
|
|
|
85 |
temperature=0,
|
86 |
stream=True)
|
87 |
|
88 |
+
partial_message = "🤖 {model}:\n\n".format(model=model)
|
89 |
for chunk in response:
|
90 |
if chunk.choices[0].delta.content is not None:
|
91 |
partial_message = partial_message + chunk.choices[0].delta.content
|