Spaces:
Runtime error
Runtime error
simplify directory
Browse files- __pycache__/app.cpython-38.pyc +0 -0
- app.py +1 -1
__pycache__/app.cpython-38.pyc
CHANGED
Binary files a/__pycache__/app.cpython-38.pyc and b/__pycache__/app.cpython-38.pyc differ
|
|
app.py
CHANGED
@@ -130,7 +130,7 @@ with gr.Blocks() as demo:
|
|
130 |
named_people_gallery_captions = []
|
131 |
for named_person in get_named_people():
|
132 |
#named_person = named_person.replace("_"," ")
|
133 |
-
named_people_gallery_imgs.append("
|
134 |
named_people_gallery_captions.append(named_person.replace("_"," "))
|
135 |
named_people_gallery_all = list(zip(named_people_gallery_imgs, named_people_gallery_captions))
|
136 |
images = named_people_gallery_all
|
|
|
130 |
named_people_gallery_captions = []
|
131 |
for named_person in get_named_people():
|
132 |
#named_person = named_person.replace("_"," ")
|
133 |
+
named_people_gallery_imgs.append("db/" + named_person + "/" + named_person.replace("_","") + ".jpg")
|
134 |
named_people_gallery_captions.append(named_person.replace("_"," "))
|
135 |
named_people_gallery_all = list(zip(named_people_gallery_imgs, named_people_gallery_captions))
|
136 |
images = named_people_gallery_all
|