modified: app.py

This commit is contained in:
Russell Ballestrini 2023-12-02 14:20:35 -05:00
parent 7f9432ea9f
commit bef9252530

2
app.py
View file

@ -447,7 +447,7 @@ def gpt_generate_room_title(messages, model_name):
max_tokens=20,
)
title = response.choices[0]["message"]["content"]
title = response.choices[0].message.content
return title.replace('"', "")