kaleidoskop-hug
commited on
Commit
•
76b65c9
1
Parent(s):
6e0c914
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def get_assistant_aswer(st_model, st_messages, st_temp_value, st_max_tokens):
|
|
67 |
)
|
68 |
|
69 |
for chunk in stream:
|
70 |
-
response
|
71 |
|
72 |
# except Exception as e:
|
73 |
# response = "😵💫 Looks like someone unplugged something!"
|
|
|
67 |
)
|
68 |
|
69 |
for chunk in stream:
|
70 |
+
response = response + chunk.choices[0].delta.content
|
71 |
|
72 |
# except Exception as e:
|
73 |
# response = "😵💫 Looks like someone unplugged something!"
|