Spaces:
Running
Running
Update utils/llms.py
Browse files- utils/llms.py +2 -1
utils/llms.py
CHANGED
@@ -181,7 +181,8 @@ def chatstream(messages,model,api_keys):
|
|
181 |
yield(part.choices[0].delta.content or "")
|
182 |
|
183 |
break
|
184 |
-
except:
|
|
|
185 |
pass
|
186 |
print("STOPPING")
|
187 |
yield("RESULT: "+cunk)
|
|
|
181 |
yield(part.choices[0].delta.content or "")
|
182 |
|
183 |
break
|
184 |
+
except Exception as e:
|
185 |
+
print(str(e))
|
186 |
pass
|
187 |
print("STOPPING")
|
188 |
yield("RESULT: "+cunk)
|