cvips commited on
Commit
9751933
·
1 Parent(s): 814a594

front end updated

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -208,8 +208,8 @@ with gr.Blocks() as demo:
208
  image_input = gr.Image(type="filepath", label="Input Image")
209
  prompts_input = gr.Textbox(lines=2, placeholder="Enter prompts separated by commas...", label="Prompts")
210
  modality_dropdown = gr.Dropdown(
211
- choices=BIOMEDPARSE_MODES.keys(),
212
- value=BIOMEDPARSE_MODES.keys()[0],
213
  label="Modality"
214
  )
215
  submit_btn = gr.Button("Submit")
 
208
  image_input = gr.Image(type="filepath", label="Input Image")
209
  prompts_input = gr.Textbox(lines=2, placeholder="Enter prompts separated by commas...", label="Prompts")
210
  modality_dropdown = gr.Dropdown(
211
+ choices=list(BIOMEDPARSE_MODES.keys()),
212
+ value=list(BIOMEDPARSE_MODES.keys())[0],
213
  label="Modality"
214
  )
215
  submit_btn = gr.Button("Submit")