asalhi85 commited on
Commit
85b5fba
1 Parent(s): 99d4997

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -96,10 +96,10 @@ with gr.Blocks(title=title,
96
  #
97
  # gr.HTML("""<h4 style="color:navy;">1-b. Or upload an image by clicking on the canvas.</h4>""")
98
 
99
- # with gr.Row():
100
- # input_url = gr.Textbox(label="Image URL", placeholder="")
101
- # input_image = gr.Image(type="filepath", image_mode="RGB", source="upload", optional=False, label="Input Image")
102
- # output_image = gr.Image(type="pil", label="Output")
103
 
104
  # gr.Interface(
105
  # inference,
 
96
  #
97
  # gr.HTML("""<h4 style="color:navy;">1-b. Or upload an image by clicking on the canvas.</h4>""")
98
 
99
+ with gr.Row():
100
+ input_url = gr.Textbox(label="Image URL", placeholder="")
101
+ input_image = gr.Image(type="filepath", image_mode="RGB", source="upload", optional=False, label="Input Image")
102
+ output_image = gr.Image(type="pil", label="Output")
103
 
104
  # gr.Interface(
105
  # inference,