victor HF staff commited on
Commit
f7357c0
·
1 Parent(s): d702bf4

refactor: Move API provider option into parameters accordion

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -269,11 +269,6 @@ with gr.Blocks() as demo:
269
  )
270
  with gr.Row():
271
  with gr.Column():
272
- api_choice = gr.Radio(
273
- choices=["HuggingFace", "DeepSeek"],
274
- value="HuggingFace",
275
- label="API Provider"
276
- )
277
  user_files = gr.File(
278
  file_count="multiple",
279
  label="Media files",
@@ -285,6 +280,11 @@ with gr.Blocks() as demo:
285
  )
286
  btn = gr.Button("Run")
287
  with gr.Accordion("Parameters", open=False):
 
 
 
 
 
288
  top_p = gr.Slider(
289
  minimum=-0,
290
  maximum=1.0,
 
269
  )
270
  with gr.Row():
271
  with gr.Column():
 
 
 
 
 
272
  user_files = gr.File(
273
  file_count="multiple",
274
  label="Media files",
 
280
  )
281
  btn = gr.Button("Run")
282
  with gr.Accordion("Parameters", open=False):
283
+ api_choice = gr.Radio(
284
+ choices=["HuggingFace", "DeepSeek"],
285
+ value="HuggingFace",
286
+ label="API Provider"
287
+ )
288
  top_p = gr.Slider(
289
  minimum=-0,
290
  maximum=1.0,