Arafath10 commited on
Commit
a4a6227
·
verified ·
1 Parent(s): 6f1cb7d

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -88,7 +88,7 @@ def streaming(userText,idf):
88
  #print(chunk.choices[0].delta.content)
89
  yield chunk.choices[0].delta.content
90
  except:
91
- yield ""
92
 
93
 
94
 
 
88
  #print(chunk.choices[0].delta.content)
89
  yield chunk.choices[0].delta.content
90
  except:
91
+ return ""
92
 
93
 
94