fix: bug in response
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def respond(
|
|
38 |
temperature=temperature,
|
39 |
top_p=top_p,
|
40 |
)
|
41 |
-
return response["choices"][0]["message"]
|
42 |
|
43 |
|
44 |
"""
|
|
|
38 |
temperature=temperature,
|
39 |
top_p=top_p,
|
40 |
)
|
41 |
+
return response["choices"][0]["message"]["content"]
|
42 |
|
43 |
|
44 |
"""
|