Spaces:
Sleeping
Sleeping
Update main.py
Browse files
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 |
-
|
| 92 |
|
| 93 |
|
| 94 |
|
|
|
|
| 88 |
#print(chunk.choices[0].delta.content)
|
| 89 |
yield chunk.choices[0].delta.content
|
| 90 |
except:
|
| 91 |
+
return ""
|
| 92 |
|
| 93 |
|
| 94 |
|