vpcom commited on
Commit
998dc61
1 Parent(s): c239bca

fix: <|endoftext|> seems to be necessary

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -626,7 +626,7 @@ def generate(
626
  return output
627
 
628
  additional_inputs=[
629
- gr.Textbox("", label="Optional system prompt"), #<|endoftext|>
630
  gr.Slider(
631
  label="Temperature",
632
  value=1.0,
 
626
  return output
627
 
628
  additional_inputs=[
629
+ gr.Textbox("<|endoftext|>", label="Optional system prompt"), #<|endoftext|>
630
  gr.Slider(
631
  label="Temperature",
632
  value=1.0,