pleonard commited on
Commit
4f2c282
1 Parent(s): 2c6cd61

simplify directory

Browse files
Files changed (2) hide show
  1. __pycache__/app.cpython-38.pyc +0 -0
  2. 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("NamedPeople/" + 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
 
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