Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,6 +45,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
| 45 |
"""
|
| 46 |
demo = gr.ChatInterface(
|
| 47 |
respond,
|
|
|
|
| 48 |
additional_inputs=[
|
| 49 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
| 50 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
@@ -56,7 +57,7 @@ demo = gr.ChatInterface(
|
|
| 56 |
step=0.05,
|
| 57 |
label="Top-p (nucleus sampling)",
|
| 58 |
),
|
| 59 |
-
|
| 60 |
],
|
| 61 |
)
|
| 62 |
|
|
|
|
| 45 |
"""
|
| 46 |
demo = gr.ChatInterface(
|
| 47 |
respond,
|
| 48 |
+
theme = "ocean",
|
| 49 |
additional_inputs=[
|
| 50 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
| 51 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
|
|
| 57 |
step=0.05,
|
| 58 |
label="Top-p (nucleus sampling)",
|
| 59 |
),
|
| 60 |
+
|
| 61 |
],
|
| 62 |
)
|
| 63 |
|