Spaces:
Running
Running
cryptocalypse
commited on
Update app.py
Browse files
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,7 +402,6 @@ demo = gr.ChatInterface(
|
|
| 400 |
label="Top-p (nucleus sampling)",
|
| 401 |
),
|
| 402 |
],
|
| 403 |
-
examples=["START GAME PLAY", "SHOW RULES","SHOW RACES","SHOW CLASSES","SHOW SPELLS"]
|
| 404 |
)
|
| 405 |
|
| 406 |
|
|
|
|
| 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 |
|