doubility123 commited on
Commit
926d5c2
ยท
1 Parent(s): fe85f8c
Files changed (2) hide show
  1. app.py +2 -4
  2. web_demo.py +2 -2
app.py CHANGED
@@ -118,8 +118,8 @@ examples_list = [
118
  [
119
  [
120
  "./images/multi_image_1.jpeg",
121
- "./images/mi_2.jpeg",
122
- "./images/mi_3.jpeg"
123
  ],
124
  "่ƒฝๅธฎๆˆ‘็”จ่ฟ™ๅ‡ ไธช้ฃŸๆๅšไธ€้“่œๅ—?",
125
  ]
@@ -574,8 +574,6 @@ def build_demo(args):
574
  def format_examples(examples_list):
575
  examples = []
576
  current_dir = os.path.dirname(os.path.abspath(__file__))
577
- print(current_dir)
578
- print(os.listdir(os.path.join(current_dir, "images")))
579
  for images, texts in examples_list:
580
  examples.append([images, display_example(images, current_dir), texts])
581
 
 
118
  [
119
  [
120
  "./images/multi_image_1.jpeg",
121
+ "./images/multi_image_2.jpeg",
122
+ "./images/multi_image_3.jpeg"
123
  ],
124
  "่ƒฝๅธฎๆˆ‘็”จ่ฟ™ๅ‡ ไธช้ฃŸๆๅšไธ€้“่œๅ—?",
125
  ]
 
574
  def format_examples(examples_list):
575
  examples = []
576
  current_dir = os.path.dirname(os.path.abspath(__file__))
 
 
577
  for images, texts in examples_list:
578
  examples.append([images, display_example(images, current_dir), texts])
579
 
web_demo.py CHANGED
@@ -118,8 +118,8 @@ examples_list = [
118
  [
119
  [
120
  "images/multi_image_1.jpeg",
121
- "images/mi_2.jpeg",
122
- "images/mi_3.jpeg"
123
  ],
124
  "่ƒฝๅธฎๆˆ‘็”จ่ฟ™ๅ‡ ไธช้ฃŸๆๅšไธ€้“่œๅ—?",
125
  ]
 
118
  [
119
  [
120
  "images/multi_image_1.jpeg",
121
+ "images/multi_image_2.jpeg",
122
+ "images/multi_image_3.jpeg"
123
  ],
124
  "่ƒฝๅธฎๆˆ‘็”จ่ฟ™ๅ‡ ไธช้ฃŸๆๅšไธ€้“่œๅ—?",
125
  ]