Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ def predict(message):
|
|
73 |
)
|
74 |
|
75 |
partial_message = ""
|
76 |
-
for chunk in
|
77 |
if len(chunk['choices'][0]['delta']) != 0:
|
78 |
partial_message = partial_message + chunk['choices'][0]['delta']['content']
|
79 |
yield partial_message
|
|
|
73 |
)
|
74 |
|
75 |
partial_message = ""
|
76 |
+
for chunk in respuesta:
|
77 |
if len(chunk['choices'][0]['delta']) != 0:
|
78 |
partial_message = partial_message + chunk['choices'][0]['delta']['content']
|
79 |
yield partial_message
|