Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -511,7 +511,7 @@ def load_example_image(image_path, visual_prompt_boxes=None):
|
|
| 511 |
from PIL import Image
|
| 512 |
|
| 513 |
# Construct full path
|
| 514 |
-
full_path = os.path.join(os.path.dirname(__file__),
|
| 515 |
if os.path.exists(full_path):
|
| 516 |
image = Image.open(full_path).convert("RGB")
|
| 517 |
|
|
|
|
| 511 |
from PIL import Image
|
| 512 |
|
| 513 |
# Construct full path
|
| 514 |
+
full_path = os.path.join(os.path.dirname(__file__), image_path)
|
| 515 |
if os.path.exists(full_path):
|
| 516 |
image = Image.open(full_path).convert("RGB")
|
| 517 |
|