ShilongLiu commited on
Commit
66fc935
1 Parent(s): 4dc6d69

update app

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -306,8 +306,8 @@ if __name__ == "__main__":
306
  source='upload', type="pil", value="demo1.jpg")
307
  task_type = gr.Dropdown(
308
  ["det", "seg", "inpainting", "automatic"], value="automatic", label="task_type")
309
- text_prompt = gr.Textbox(label="Text Prompt", label="categories (separated by .)")
310
- inpaint_prompt = gr.Textbox(label="Inpaint Prompt", label="The new image should be...")
311
  run_button = gr.Button(label="Run")
312
  with gr.Accordion("Advanced options", open=False):
313
  box_threshold = gr.Slider(
 
306
  source='upload', type="pil", value="demo1.jpg")
307
  task_type = gr.Dropdown(
308
  ["det", "seg", "inpainting", "automatic"], value="automatic", label="task_type")
309
+ text_prompt = gr.Textbox(label="Text Prompt", placeholder="dog . cat . bench .")
310
+ inpaint_prompt = gr.Textbox(label="Inpaint Prompt", placeholder="a sofa in a living room .")
311
  run_button = gr.Button(label="Run")
312
  with gr.Accordion("Advanced options", open=False):
313
  box_threshold = gr.Slider(