Mediocreatmybest commited on
Commit
0e10238
·
1 Parent(s): 9f0516e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,6 +22,6 @@ def caption_image(model_choice, image_path):
22
  def launch(model_choice, input):
23
  return caption_image(model_choice, input)
24
 
25
- model_dropdown = gr.inputs.Dropdown(choices=list(CAPTION_MODELS.keys()), label='Model Choice')
26
  iface = gr.Interface(launch, inputs=[model_dropdown, "text"], outputs="text")
27
  iface.launch()
 
22
  def launch(model_choice, input):
23
  return caption_image(model_choice, input)
24
 
25
+ model_dropdown = gr.Dropdown(choices=list(CAPTION_MODELS.keys()), label='Model Choice')
26
  iface = gr.Interface(launch, inputs=[model_dropdown, "text"], outputs="text")
27
  iface.launch()