Spaces:
Runtime error
Runtime error
add visitor badge
Browse files
app.py
CHANGED
@@ -476,6 +476,10 @@ with gr.Blocks(css=css, title="EdgeSAM") as demo:
|
|
476 |
# Description
|
477 |
gr.Markdown(description_e)
|
478 |
|
|
|
|
|
|
|
|
|
479 |
cond_img_p.upload(on_image_upload, cond_img_p, [cond_img_p, segm_img_p])
|
480 |
cond_img_p.select(get_points_with_draw, [cond_img_p, add_or_remove], cond_img_p)
|
481 |
segment_btn_p.click(
|
|
|
476 |
# Description
|
477 |
gr.Markdown(description_e)
|
478 |
|
479 |
+
with gr.Row():
|
480 |
+
with gr.Column(scale=1):
|
481 |
+
gr.Markdown("<center><img src='https://visitor-badge.laobi.icu/badge?page_id=chongzhou/edgesam' alt='visitors'></center>")
|
482 |
+
|
483 |
cond_img_p.upload(on_image_upload, cond_img_p, [cond_img_p, segm_img_p])
|
484 |
cond_img_p.select(get_points_with_draw, [cond_img_p, add_or_remove], cond_img_p)
|
485 |
segment_btn_p.click(
|