Ayeshanoor101 commited on
Commit
f17637f
1 Parent(s): b7fdb16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -97,20 +97,21 @@ with gr.Blocks(fill_height=True,css=css) as demo:
97
  ['Justify why a penguin might make a good king of the jungle.']
98
  ],
99
  cache_examples=False,
100
- additional_inputs_accordion = gr.Accordion(label="⚙️ Parameters", open=False
101
  additional_inputs = [
102
- gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
103
- gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
104
- gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
105
  gr.Slider(
106
  minimum=0.1,
107
  maximum=1.0,
108
  value=0.95,
109
  step=0.05,
110
  label="Top-p (nucleus sampling)",
 
111
  ),
112
  ]
113
- )
114
  )
115
  # Add license markdown
116
  gr.Markdown(LICENSE)
 
97
  ['Justify why a penguin might make a good king of the jungle.']
98
  ],
99
  cache_examples=False,
100
+ additional_inputs_accordion = gr.Accordion(label="⚙️ Parameters", open=False, render= False),
101
  additional_inputs = [
102
+ gr.Textbox(value="You are a friendly Chatbot.", label="System message",render= False),
103
+ gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens",render= False),
104
+ gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature",render= False),
105
  gr.Slider(
106
  minimum=0.1,
107
  maximum=1.0,
108
  value=0.95,
109
  step=0.05,
110
  label="Top-p (nucleus sampling)",
111
+ render= False
112
  ),
113
  ]
114
+
115
  )
116
  # Add license markdown
117
  gr.Markdown(LICENSE)