Upload app.py
Browse files
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.
|
168 |
["gpt-4", "gpt-4-32k", "gpt-3.5-turbo", "gpt-3.5-turbo-16k"],
|
169 |
-
|
|
|
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,
|