Spaces:
Running
Running
upd
Browse files
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 |
|