harshkidzure commited on
Commit
746c617
·
verified ·
1 Parent(s): 8285cf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -305,8 +305,7 @@ if __name__ == "__main__":
305
  with block:
306
  with gr.Row():
307
  with gr.Column():
308
- input_image = gr.Image(
309
- source='upload', type="pil", value="demo1.jpg")
310
  task_type = gr.Dropdown(
311
  ["det", "seg", "inpainting", "automatic"], value="seg", label="task_type")
312
  text_prompt = gr.Textbox(label="Text Prompt", placeholder="bear . beach .")
 
305
  with block:
306
  with gr.Row():
307
  with gr.Column():
308
+ input_image = gr.Image(type="pil", value="demo1.jpg")
 
309
  task_type = gr.Dropdown(
310
  ["det", "seg", "inpainting", "automatic"], value="seg", label="task_type")
311
  text_prompt = gr.Textbox(label="Text Prompt", placeholder="bear . beach .")