Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ def reset_conversation():
|
|
| 28 |
return None
|
| 29 |
|
| 30 |
def ask_assistant_stream(st_model, st_messages, st_temp_value, st_max_tokens):
|
| 31 |
-
response=
|
| 32 |
try:
|
| 33 |
stream = client.chat.completions.create(
|
| 34 |
model=st_model,
|
|
|
|
| 28 |
return None
|
| 29 |
|
| 30 |
def ask_assistant_stream(st_model, st_messages, st_temp_value, st_max_tokens):
|
| 31 |
+
response={}
|
| 32 |
try:
|
| 33 |
stream = client.chat.completions.create(
|
| 34 |
model=st_model,
|