Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -92,6 +92,7 @@ def streaming(userText,idf):
|
|
| 92 |
try:
|
| 93 |
#print(chunk.choices[0].delta.content)
|
| 94 |
out = (chunk.choices[0].delta.content).replace("SDR","")
|
|
|
|
| 95 |
yield out.replace(":","")
|
| 96 |
except:
|
| 97 |
return ""
|
|
|
|
| 92 |
try:
|
| 93 |
#print(chunk.choices[0].delta.content)
|
| 94 |
out = (chunk.choices[0].delta.content).replace("SDR","")
|
| 95 |
+
print(out)
|
| 96 |
yield out.replace(":","")
|
| 97 |
except:
|
| 98 |
return ""
|