harshkidzure commited on
Commit
8fefdb0
·
verified ·
1 Parent(s): c595ebb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -100,7 +100,7 @@ if __name__ == "__main__":
100
 
101
  with gr.Row():
102
  with gr.Column():
103
- input_image = gr.Image(source='upload', type="pil")
104
  grounding_caption = gr.Textbox(label="Detection Prompt")
105
  run_button = gr.Button(label="Run")
106
  with gr.Accordion("Advanced options", open=False):
@@ -129,5 +129,5 @@ if __name__ == "__main__":
129
  cache_examples=True,
130
  label='Try this example input!'
131
  )
132
- block.launch(share=False, show_api=True, show_error=True)
133
 
 
100
 
101
  with gr.Row():
102
  with gr.Column():
103
+ input_image = gr.Image(type="pil")
104
  grounding_caption = gr.Textbox(label="Detection Prompt")
105
  run_button = gr.Button(label="Run")
106
  with gr.Accordion("Advanced options", open=False):
 
129
  cache_examples=True,
130
  label='Try this example input!'
131
  )
132
+ block.launch(share=False, show_error=True)
133