weblab-geniac-spaces commited on
Commit
7f17b84
1 Parent(s): 0bbcccf

Update app.py

Browse files

modfiy default parameter

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -143,7 +143,7 @@ with gr.Blocks(css=CSS, theme="soft") as demo:
143
  fn=stream_chat,
144
  chatbot=chatbot,
145
  fill_height=True,
146
- additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False, render=False),
147
  additional_inputs=[
148
  gr.Textbox(
149
  value="あなたは役に立つアシスタントです。",
@@ -154,7 +154,7 @@ with gr.Blocks(css=CSS, theme="soft") as demo:
154
  minimum=0,
155
  maximum=1,
156
  step=0.1,
157
- value=0.3,
158
  label="Temperature",
159
  render=False,
160
  ),
 
143
  fn=stream_chat,
144
  chatbot=chatbot,
145
  fill_height=True,
146
+ additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=True, render=False),
147
  additional_inputs=[
148
  gr.Textbox(
149
  value="あなたは役に立つアシスタントです。",
 
154
  minimum=0,
155
  maximum=1,
156
  step=0.1,
157
+ value=0,
158
  label="Temperature",
159
  render=False,
160
  ),