Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
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 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
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,
|