prithivMLmods commited on
Commit
075e720
1 Parent(s): 0f26810

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -110,10 +110,10 @@ def respond(
110
  demo = gr.ChatInterface(
111
  respond,
112
  additional_inputs=[
113
- gr.Textbox(value="", label="System message"),
114
- gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
115
- gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
116
- gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-P"),
117
  gr.Dropdown(choices=list(mood_prompts.keys()), label="Mood", value="Casual")
118
  ],
119
  css=css,
 
110
  demo = gr.ChatInterface(
111
  respond,
112
  additional_inputs=[
113
+ gr.Textbox(value="", label="System message", visible=False),
114
+ gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens", visible=False),
115
+ gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature", visible=False),
116
+ gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-P", visible=False),
117
  gr.Dropdown(choices=list(mood_prompts.keys()), label="Mood", value="Casual")
118
  ],
119
  css=css,