Spaces:
Sleeping
Sleeping
Add example images
Browse files- app.py +1 -1
- assets/app_image1.jpg +0 -0
- assets/app_image2.jpg +0 -0
- assets/app_image3.jpg +0 -0
- assets/app_image4.jpg +0 -0
- assets/app_image5.jpg +0 -0
app.py
CHANGED
@@ -153,7 +153,7 @@ def build_gradio_app(queues, command):
|
|
153 |
#anno-img .mask.active {opacity: 0.7}"""
|
154 |
|
155 |
def get_examples():
|
156 |
-
assets_dir = os.path.join(os.path.dirname(__file__), "
|
157 |
app_images = list(filter(lambda x: x.startswith("app_image"), os.listdir(assets_dir)))
|
158 |
app_images.sort()
|
159 |
return [{"image": os.path.join(assets_dir, x)} for x in app_images]
|
|
|
153 |
#anno-img .mask.active {opacity: 0.7}"""
|
154 |
|
155 |
def get_examples():
|
156 |
+
assets_dir = os.path.join(os.path.dirname(__file__), "assets")
|
157 |
app_images = list(filter(lambda x: x.startswith("app_image"), os.listdir(assets_dir)))
|
158 |
app_images.sort()
|
159 |
return [{"image": os.path.join(assets_dir, x)} for x in app_images]
|
assets/app_image1.jpg
ADDED
assets/app_image2.jpg
ADDED
assets/app_image3.jpg
ADDED
assets/app_image4.jpg
ADDED
assets/app_image5.jpg
ADDED