to-be commited on
Commit
58463ff
1 Parent(s): 6530ca6
Files changed (4) hide show
  1. Sample3.jpg +0 -0
  2. Sample4.jpg +0 -0
  3. Sample5.jpg +0 -0
  4. app.py +3 -3
Sample3.jpg ADDED
Sample4.jpg ADDED
Sample5.jpg ADDED
app.py CHANGED
@@ -140,8 +140,8 @@ if __name__ == "__main__":
140
  """
141
  block = gr.Blocks(css=css).queue()
142
  with block:
143
- gr.Markdown("<h1><center>Signature detection<h1><center>")
144
- gr.Markdown("<h3><center>See article<a href='https://github.com/IDEA-Research/GroundingDINO'>Grounding DINO</a><h3><center>")
145
  gr.Markdown("<h3><center>Serves as an example where deep learning is not needed.<h3><center>")
146
 
147
  with gr.Row():
@@ -157,7 +157,7 @@ if __name__ == "__main__":
157
  run_button.click(fn=run_detection, inputs=[
158
  input_image], outputs=[gallery, info])
159
  gr.Examples(
160
- [["Sample1.jpg"],["Sample2.jpg"]],
161
  inputs = [input_image],
162
  outputs = [gallery, info],
163
  fn=run_detection,
 
140
  """
141
  block = gr.Blocks(css=css).queue()
142
  with block:
143
+ gr.Markdown("<h1><center>Signature detection with OpenCV<h1><center>")
144
+ gr.Markdown("<h3><center>See <a href='https://github.com/IDEA-Research/GroundingDINO'>article</a><h3><center>")
145
  gr.Markdown("<h3><center>Serves as an example where deep learning is not needed.<h3><center>")
146
 
147
  with gr.Row():
 
157
  run_button.click(fn=run_detection, inputs=[
158
  input_image], outputs=[gallery, info])
159
  gr.Examples(
160
+ [["Sample1.jpg"],["Sample2.jpg"],["Sample3.jpg"],["Sample4.jpg"],["Sample5.jpg"]],
161
  inputs = [input_image],
162
  outputs = [gallery, info],
163
  fn=run_detection,