sjtu-deepvision commited on
Commit
b2943a0
·
verified ·
1 Parent(s): 7865269

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -64,9 +64,7 @@ def process_image(input_image):
64
  def create_gradio_interface():
65
  # 示例图像
66
  example_images = [
67
- os.path.join("files", "image", filename)
68
- for filename in os.listdir(os.path.join("files", "image"))
69
- if filename.endswith((".png", ".jpg", ".jpeg"))
70
  ]
71
  title = "# Dereflection Any Image"
72
  description = """Official demo for **Dereflection Any Image**.
 
64
  def create_gradio_interface():
65
  # 示例图像
66
  example_images = [
67
+ os.path.join("files", "image", f"{i}.png") for i in range(1, 14)
 
 
68
  ]
69
  title = "# Dereflection Any Image"
70
  description = """Official demo for **Dereflection Any Image**.