mrfakename commited on
Commit
0aa46af
·
verified ·
1 Parent(s): 2b1fdf0

Sometimes it adds a "

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def generate(spaces):
36
  ],
37
  max_tokens=500,
38
  )
39
- output += chat_completion.choices[0].message.content + "\n"
40
  yield output
41
 
42
 
 
36
  ],
37
  max_tokens=500,
38
  )
39
+ output += chat_completion.choices[0].message.content.strip('"') + "\n"
40
  yield output
41
 
42