Spaces:
Runtime error
Runtime error
Update api.py
Browse files27 unmodified lines2829303132333427 unmodified lines])response_text = response.choices[0].message.contentreturn response_text27 unmodified lines2829303132333427 unmodified lines])response_text = response['choices'][0]['message']['content']return response_text
api.py+1-1