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

front end updated

Browse files
Files changed (1) hide show
  1. app.py +15 -15
app.py CHANGED
@@ -222,21 +222,21 @@ with gr.Blocks() as demo:
222
  inputs=[image_input, prompts_input, modality_dropdown],
223
  outputs=[output_gallery, pvalue_output]
224
  )
225
- with gr.Row():
226
- gr.Examples(
227
- fn=process_image,
228
- examples=IMAGE_PROCESSING_EXAMPLES,
229
- inputs=[
230
- image_processing_mode_dropdown_component,
231
- image_processing_image_input_component,
232
- image_processing_text_input_component
233
- ],
234
- outputs=[
235
- image_processing_image_output_component,
236
- image_processing_text_output_component
237
- ],
238
- run_on_click=True
239
- )
240
 
241
  # Launch the app
242
  demo.launch()
 
222
  inputs=[image_input, prompts_input, modality_dropdown],
223
  outputs=[output_gallery, pvalue_output]
224
  )
225
+ # with gr.Row():
226
+ # gr.Examples(
227
+ # fn=process_image,
228
+ # examples=IMAGE_PROCESSING_EXAMPLES,
229
+ # inputs=[
230
+ # image_processing_mode_dropdown_component,
231
+ # image_processing_image_input_component,
232
+ # image_processing_text_input_component
233
+ # ],
234
+ # outputs=[
235
+ # image_processing_image_output_component,
236
+ # image_processing_text_output_component
237
+ # ],
238
+ # run_on_click=True
239
+ # )
240
 
241
  # Launch the app
242
  demo.launch()