Spaces:
Runtime error
Runtime error
Sometimes it adds a space before "
Browse filesSometimes it gives something like:
```
Convert text to human-like speech with TTS models.
Compare audio samples generated by text-to-speech models and vote for preferred natural-sounding one.
Generate images from text prompts using a diffusion model on GPU.
"Remove background from videos using GPU acceleration.
"Filter, sort, and display model evaluations based on type, precision, and size.
```
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 |
|