ChenyuRabbitLove
commited on
Commit
•
411b212
1
Parent(s):
203f861
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def chat_completion_request(messages, tools=None, tool_choice=None):
|
|
24 |
print(response.choices[0].message.content)
|
25 |
return response
|
26 |
except Exception as e:
|
27 |
-
print("Unable to generate ChatCompletion response")
|
28 |
print(f"Exception: {e}")
|
29 |
return e
|
30 |
|
|
|
24 |
print(response.choices[0].message.content)
|
25 |
return response
|
26 |
except Exception as e:
|
27 |
+
print("Unable to generate ChatCompletion response!")
|
28 |
print(f"Exception: {e}")
|
29 |
return e
|
30 |
|