MaxLSB commited on
Commit
485360d
·
verified ·
1 Parent(s): 67ef8c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,7 +26,7 @@ def respond(
26
 
27
  streamer = TextIteratorStreamer(
28
  tokenizer,
29
- skip_prompt=True,
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, jusqu'au jour où", 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
  ],
 
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
  ],