Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ def respond(
|
|
| 26 |
|
| 27 |
streamer = TextIteratorStreamer(
|
| 28 |
tokenizer,
|
| 29 |
-
skip_prompt=
|
| 30 |
skip_special_tokens=True,
|
| 31 |
)
|
| 32 |
|
|
@@ -59,7 +59,7 @@ demo = gr.ChatInterface(
|
|
| 59 |
title="LeCarnet-8M: Short French Stories",
|
| 60 |
description="Type the beginning of a sentence and watch the model finish it.",
|
| 61 |
examples = [
|
| 62 |
-
["Il était une fois un petit garçon qui vivait dans un village paisible
|
| 63 |
["Il était une fois une grenouille qui rêvait de toucher les étoiles chaque nuit depuis son étang.", 512, 0.7, 0.9],
|
| 64 |
["Il était une fois un vieux moulin abandonné qui", 512, 0.7, 0.9],
|
| 65 |
],
|
|
|
|
| 26 |
|
| 27 |
streamer = TextIteratorStreamer(
|
| 28 |
tokenizer,
|
| 29 |
+
skip_prompt=False,
|
| 30 |
skip_special_tokens=True,
|
| 31 |
)
|
| 32 |
|
|
|
|
| 59 |
title="LeCarnet-8M: Short French Stories",
|
| 60 |
description="Type the beginning of a sentence and watch the model finish it.",
|
| 61 |
examples = [
|
| 62 |
+
["Il était une fois un petit garçon qui vivait dans un village paisible.", 512, 0.7, 0.9],
|
| 63 |
["Il était une fois une grenouille qui rêvait de toucher les étoiles chaque nuit depuis son étang.", 512, 0.7, 0.9],
|
| 64 |
["Il était une fois un vieux moulin abandonné qui", 512, 0.7, 0.9],
|
| 65 |
],
|