qgyd2021 commited on
Commit
d2b43fb
1 Parent(s): 71af355

[update]add code

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -107,8 +107,8 @@ def main():
107
  gr.Slider(minimum=0, maximum=1, value=0.85, step=0.01, label="top_p"),
108
  gr.Slider(minimum=0, maximum=1, value=0.35, step=0.01, label="temperature"),
109
  gr.Slider(minimum=0, maximum=2, value=1.2, step=0.01, label="repetition_penalty"),
110
- gr.Dropdown(choices=["qgyd2021/lib_service_4chan"], label="model_name"),
111
- gr.Checkbox(label="is_chat")
112
  ],
113
  outputs=[output_text_box],
114
  examples=[
 
107
  gr.Slider(minimum=0, maximum=1, value=0.85, step=0.01, label="top_p"),
108
  gr.Slider(minimum=0, maximum=1, value=0.35, step=0.01, label="temperature"),
109
  gr.Slider(minimum=0, maximum=2, value=1.2, step=0.01, label="repetition_penalty"),
110
+ gr.Dropdown(choices=["qgyd2021/lib_service_4chan"], value="qgyd2021/lib_service_4chan", label="model_name"),
111
+ gr.Checkbox(value=True, label="is_chat")
112
  ],
113
  outputs=[output_text_box],
114
  examples=[