Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def system_message():
|
|
44 |
demo = gr.Interface(
|
45 |
fn=respond,
|
46 |
inputs=[
|
47 |
-
gr.Textbox(
|
48 |
gr.Slider(minimum=1, maximum=2048, default=512, step=1, label="Max new tokens"),
|
49 |
gr.Slider(minimum=0.1, maximum=4.0, default=0.7, step=0.1, label="Temperature"),
|
50 |
gr.Slider(minimum=0.1, maximum=1.0, default=0.95, step=0.05, label="Top-p (nucleus sampling)"),
|
|
|
44 |
demo = gr.Interface(
|
45 |
fn=respond,
|
46 |
inputs=[
|
47 |
+
gr.Textbox(value="You are chatting with a physics chatbot.", label="System message"),
|
48 |
gr.Slider(minimum=1, maximum=2048, default=512, step=1, label="Max new tokens"),
|
49 |
gr.Slider(minimum=0.1, maximum=4.0, default=0.7, step=0.1, label="Temperature"),
|
50 |
gr.Slider(minimum=0.1, maximum=1.0, default=0.95, step=0.05, label="Top-p (nucleus sampling)"),
|