Warlord-K commited on
Commit
0a6f6a2
1 Parent(s): d454d18

Added Markdown for Prompt

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,13 +38,13 @@ with gr.Blocks() as demo:
38
  gr.Markdown('# Try On Clothes Online!')
39
  gr.Markdown('## Add Your Image via an Image URL or By Simply Uploading it')
40
  gr.Markdown('## Paste in a link of a Product from Flipkart, Amazon or Myntra and See the Preview! You can also paste in any Image link!')
41
-
42
  with gr.Row():
43
  with gr.Column():
44
  image = gr.inputs.Image(type = "filepath", label = "Input Image")
45
  # image_url = gr.inputs.Textbox(label = "Input Image URL")
46
  cloth_url = gr.inputs.Textbox(label = "Cloth Image URL")
47
- prompt = gr.inputs.Textbox(label="Editing Prompt")
48
  output = gr.outputs.Image(type = "pil", label="Generated Image")
49
  run = gr.Button(label="Generate Preview")
50
  run.click(generate_with_mask_, inputs=[image, cloth_url, prompt], outputs=output)
 
38
  gr.Markdown('# Try On Clothes Online!')
39
  gr.Markdown('## Add Your Image via an Image URL or By Simply Uploading it')
40
  gr.Markdown('## Paste in a link of a Product from Flipkart, Amazon or Myntra and See the Preview! You can also paste in any Image link!')
41
+ gr.Markdown('## Optionally you can add a prompt to generate an image instead of using an example image.')
42
  with gr.Row():
43
  with gr.Column():
44
  image = gr.inputs.Image(type = "filepath", label = "Input Image")
45
  # image_url = gr.inputs.Textbox(label = "Input Image URL")
46
  cloth_url = gr.inputs.Textbox(label = "Cloth Image URL")
47
+ prompt = gr.inputs.Textbox(label="Optional Prompt")
48
  output = gr.outputs.Image(type = "pil", label="Generated Image")
49
  run = gr.Button(label="Generate Preview")
50
  run.click(generate_with_mask_, inputs=[image, cloth_url, prompt], outputs=output)