Commit
•
794048c
1
Parent(s):
8bffe0d
Sometimes it adds a space before " (#6)
Browse files- Sometimes it adds a space before " (d366bbbbf6020b067f402f6e211a62f4966135d8)
Co-authored-by: mrfakename <[email protected]>
app.py
CHANGED
@@ -36,7 +36,7 @@ def generate(spaces):
|
|
36 |
],
|
37 |
max_tokens=500,
|
38 |
)
|
39 |
-
output += chat_completion.choices[0].message.content.strip('"') + "\n"
|
40 |
yield output
|
41 |
|
42 |
|
|
|
36 |
],
|
37 |
max_tokens=500,
|
38 |
)
|
39 |
+
output += chat_completion.choices[0].message.content.strip().strip('"') + "\n"
|
40 |
yield output
|
41 |
|
42 |
|