badge
Browse files
app.py
CHANGED
@@ -130,6 +130,7 @@ def run_detection(input_image):
|
|
130 |
|
131 |
if __name__ == "__main__":
|
132 |
|
|
|
133 |
|
134 |
css = """
|
135 |
#mkd {
|
@@ -163,5 +164,6 @@ if __name__ == "__main__":
|
|
163 |
fn=run_detection,
|
164 |
cache_examples=True,
|
165 |
label='Try these examples:'
|
166 |
-
|
|
|
167 |
block.launch(share=False, show_api=False, show_error=True)
|
|
|
130 |
|
131 |
if __name__ == "__main__":
|
132 |
|
133 |
+
visit_badge = '<a href="https://visitorbadge.io/status?path=https%3A%2F%2Fhuggingface.co%2Fspaces%2Fto-be%2Fsignature_detection_opencv"><img src="https://api.visitorbadge.io/api/combined?path=https%3A%2F%2Fhuggingface.co%2Fspaces%2Fto-be%2Fsignature_detection_opencv&label=%20&countColor=%23263759" /></a>'
|
134 |
|
135 |
css = """
|
136 |
#mkd {
|
|
|
164 |
fn=run_detection,
|
165 |
cache_examples=True,
|
166 |
label='Try these examples:'
|
167 |
+
)
|
168 |
+
gr.HTML(visit_badge)
|
169 |
block.launch(share=False, show_api=False, show_error=True)
|