cryptocalypse commited on
Commit
f54605d
·
verified ·
1 Parent(s): c9ce13a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -388,6 +388,8 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
388
  """
389
  demo = gr.ChatInterface(
390
  respond,
 
 
391
  additional_inputs=[
392
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
393
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
@@ -400,6 +402,7 @@ demo = gr.ChatInterface(
400
  label="Top-p (nucleus sampling)",
401
  ),
402
  ],
 
403
  )
404
 
405
 
 
388
  """
389
  demo = gr.ChatInterface(
390
  respond,
391
+ examples=["START GAME PLAY","SHOW RULES","SHOW RACES","SHOW CLASSES","SHOW SPELLS"],
392
+ """
393
  additional_inputs=[
394
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
395
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
 
402
  label="Top-p (nucleus sampling)",
403
  ),
404
  ],
405
+ """
406
  )
407
 
408