Spaces:
Runtime error
Runtime error
Commit
•
876beda
1
Parent(s):
0f952ef
Update app.py
Browse files
app.py
CHANGED
@@ -186,7 +186,7 @@ def get_chatgpt_response(prompt):
|
|
186 |
{"role": "user", "content": prompt}
|
187 |
]
|
188 |
)
|
189 |
-
return response.choices[0].message
|
190 |
|
191 |
def personalization():
|
192 |
st.markdown(
|
|
|
186 |
{"role": "user", "content": prompt}
|
187 |
]
|
188 |
)
|
189 |
+
return response.choices[0].message.content.strip()
|
190 |
|
191 |
def personalization():
|
192 |
st.markdown(
|