Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
@@ -90,15 +90,17 @@ with gr.Blocks(title=title,
|
|
90 |
) as demo:
|
91 |
|
92 |
gr.HTML("""<h4 style="font-weight:bold; text-align:center; color:navy;">"Smartathon Phase2 Demo - Baseer"</h4>""")
|
93 |
-
#
|
94 |
-
gr.HTML("""<h5 style="color:navy;">1- Select an example by clicking a thumbnail below.</h5>""")
|
95 |
-
#
|
96 |
-
gr.HTML("""<h5 style="color:navy;">2- Or upload an image by clicking on the canvas.<br>
|
97 |
-
|
98 |
|
99 |
with gr.Row():
|
100 |
with gr.Column():
|
|
|
101 |
input_url = gr.Textbox(label="Image URL", placeholder="")
|
|
|
102 |
input_image = gr.Image(type="filepath", image_mode="RGB", source="upload", optional=False, label="Input Image")
|
103 |
gr.HTML("""<h5 style="color:navy;">4- You can use this slider to control boxes min score: </h5>""")
|
104 |
sliderr = gr.Slider(minimum=0.0, maximum=1.0, value=0.4, label="Minimum score")
|
|
|
90 |
) as demo:
|
91 |
|
92 |
gr.HTML("""<h4 style="font-weight:bold; text-align:center; color:navy;">"Smartathon Phase2 Demo - Baseer"</h4>""")
|
93 |
+
# #
|
94 |
+
# gr.HTML("""<h5 style="color:navy;">1- Select an example by clicking a thumbnail below.</h5>""")
|
95 |
+
# #
|
96 |
+
# gr.HTML("""<h5 style="color:navy;">2- Or upload an image by clicking on the canvas.<br>
|
97 |
+
# 3- Or insert direct url of an image.</h5>""")
|
98 |
|
99 |
with gr.Row():
|
100 |
with gr.Column():
|
101 |
+
gr.HTML("""<h5 style="color:navy;">3- Or insert direct url of an image.</h5>""")
|
102 |
input_url = gr.Textbox(label="Image URL", placeholder="")
|
103 |
+
gr.HTML("""<h5 style="color:navy;">2- Or upload an image by clicking on the canvas.<br></h5>""")
|
104 |
input_image = gr.Image(type="filepath", image_mode="RGB", source="upload", optional=False, label="Input Image")
|
105 |
gr.HTML("""<h5 style="color:navy;">4- You can use this slider to control boxes min score: </h5>""")
|
106 |
sliderr = gr.Slider(minimum=0.0, maximum=1.0, value=0.4, label="Minimum score")
|