Spaces:
Runtime error
Runtime error
Commit
·
7fa9751
1
Parent(s):
bc3e986
Update app.py
Browse files
app.py
CHANGED
@@ -198,7 +198,7 @@ def generate_response(user_input):
|
|
198 |
{"role": "user", "content": user_input}
|
199 |
]
|
200 |
)
|
201 |
-
return response
|
202 |
|
203 |
|
204 |
def main():
|
|
|
198 |
{"role": "user", "content": user_input}
|
199 |
]
|
200 |
)
|
201 |
+
return response.choices[0].message.content
|
202 |
|
203 |
|
204 |
def main():
|