Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def blagueur(prompt):
|
|
| 15 |
do_sample=True,
|
| 16 |
temperature=0.9
|
| 17 |
)
|
| 18 |
-
return
|
| 19 |
|
| 20 |
# Configuration de l'interface Gradio
|
| 21 |
demo = gr.Interface(
|
|
|
|
| 15 |
do_sample=True,
|
| 16 |
temperature=0.9
|
| 17 |
)
|
| 18 |
+
return tokenizer_.decode(outputs[0], skip_special_tokens=True)
|
| 19 |
|
| 20 |
# Configuration de l'interface Gradio
|
| 21 |
demo = gr.Interface(
|