Spaces:
Running
Running
hugforziio
commited on
Commit
•
7e13425
1
Parent(s):
b273e61
Update app.py
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ def on_click_send_btn(
|
|
108 |
try:
|
109 |
completion = openai.ChatCompletion.create(**props)
|
110 |
print('')
|
111 |
-
print(completion)
|
112 |
the_response_role = completion.choices[0].message.role
|
113 |
the_response = completion.choices[0].message.content
|
114 |
print(the_response)
|
|
|
108 |
try:
|
109 |
completion = openai.ChatCompletion.create(**props)
|
110 |
print('')
|
111 |
+
print(completion.choices)
|
112 |
the_response_role = completion.choices[0].message.role
|
113 |
the_response = completion.choices[0].message.content
|
114 |
print(the_response)
|