Spaces:
Running
on
Zero
Running
on
Zero
doubility123
commited on
Commit
ยท
926d5c2
1
Parent(s):
fe85f8c
update
Browse files- app.py +2 -4
- web_demo.py +2 -2
app.py
CHANGED
@@ -118,8 +118,8 @@ examples_list = [
|
|
118 |
[
|
119 |
[
|
120 |
"./images/multi_image_1.jpeg",
|
121 |
-
"./images/
|
122 |
-
"./images/
|
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/
|
122 |
-
"images/
|
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 |
]
|