Spaces:
Sleeping
Sleeping
Commit
·
194e044
1
Parent(s):
e3e8585
Update app.py
Browse files
app.py
CHANGED
@@ -67,6 +67,7 @@ def run_conversation():
|
|
67 |
function_call="auto",
|
68 |
)
|
69 |
response_message = response["choices"][0]["message"]
|
|
|
70 |
# Step 2: check if GPT wanted to call a function
|
71 |
if response_message.get("function_call"):
|
72 |
# Step 3: call the function
|
|
|
67 |
function_call="auto",
|
68 |
)
|
69 |
response_message = response["choices"][0]["message"]
|
70 |
+
print(response_message)
|
71 |
# Step 2: check if GPT wanted to call a function
|
72 |
if response_message.get("function_call"):
|
73 |
# Step 3: call the function
|