Gerofra commited on
Commit
8833c6e
1 Parent(s): 8733027

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def predict(message):
73
  )
74
 
75
  partial_message = ""
76
- for chunk in response:
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