HBDing commited on
Commit
4a5dbfd
·
1 Parent(s): 5bd2422
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import gradio as gr
2
  from gradio_image_annotation import image_annotator
3
-
4
  example_annotation = {
5
- "image": "background.png",
6
  "boxes": [],
7
  }
8
 
 
1
  import gradio as gr
2
  from gradio_image_annotation import image_annotator
3
+ import os
4
  example_annotation = {
5
+ "image": os.path.join(os.path.dirname(__file__), "background.png"),
6
  "boxes": [],
7
  }
8