asalhi85 commited on
Commit
0a1cb88
1 Parent(s): a9b03c2

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -91,16 +91,16 @@ with gr.Blocks(title=title,
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")
@@ -128,7 +128,7 @@ with gr.Blocks(title=title,
128
 
129
  #gr.HTML("""<h5 style="color:navy;">Reference</h5>""")
130
  #gr.HTML("""<ul>""")
131
- gr.HTML("""<p>Detectron model is available from our repository <a href="https://github.com/asalhi/Smartathon-Baseer">here</a>.</p>""")
132
  #gr.HTML("""</ul>""")
133
 
134
 
 
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
+ gr.HTML("""<h5 style="color:navy;">1- Select an example by clicking a thumbnail below.<br>
96
+ 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")
 
128
 
129
  #gr.HTML("""<h5 style="color:navy;">Reference</h5>""")
130
  #gr.HTML("""<ul>""")
131
+ gr.HTML("""<h5>Detectron model is available from our repository <a href="https://github.com/asalhi/Smartathon-Baseer">here</a>.</h5>""")
132
  #gr.HTML("""</ul>""")
133
 
134