Commit
•
11b11bf
1
Parent(s):
2b1fdf0
Sometimes it adds a " (#3)
Browse files- Sometimes it adds a " (0aa46af344b22df481ae2732d3d0873c491d0956)
Co-authored-by: mrfakename <mrfakename@users.noreply.huggingface.co>
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 |
|