modified: app.py
This commit is contained in:
parent
7f9432ea9f
commit
bef9252530
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
|
@ -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('"', "")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue