Hmjz100 commited on
Commit
26d20d3
·
1 Parent(s): dc82426

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -164,9 +164,10 @@ with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;}
164
  "gpt-3.5-turbo": 4096,
165
  "gpt-3.5-turbo-16k": 16384,
166
  }
167
- model = gr.Dropdown(
168
  ["gpt-4", "gpt-4-32k", "gpt-3.5-turbo", "gpt-3.5-turbo-16k"],
169
- label="模型"
 
170
  )
171
  top_p = gr.Slider(
172
  minimum=-0, maximum=1.0, value=1.0, step=0.05,
 
164
  "gpt-3.5-turbo": 4096,
165
  "gpt-3.5-turbo-16k": 16384,
166
  }
167
+ model = gr.Radio(
168
  ["gpt-4", "gpt-4-32k", "gpt-3.5-turbo", "gpt-3.5-turbo-16k"],
169
+ default="gpt-4",
170
+ label="模型",
171
  )
172
  top_p = gr.Slider(
173
  minimum=-0, maximum=1.0, value=1.0, step=0.05,