PhyscalX commited on
Commit
ec5d864
1 Parent(s): e576ceb

Add example images

Browse files
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__), "../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]
 
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