Omnibus commited on
Commit
616cac1
·
1 Parent(s): d7d669c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -112,7 +112,7 @@ def details_fn(query):
112
  if not img['src'].startswith("data:"):
113
  imga=img['src']
114
  if imga.startswith("/"):
115
- imga = f'{query.strip("/") if query.endswith("/")}{imga}'
116
  im_id = f'img_{i}'
117
  link_list.append(imga)
118
  image_out += f"""
 
112
  if not img['src'].startswith("data:"):
113
  imga=img['src']
114
  if imga.startswith("/"):
115
+ imga = f'{query.strip("/") if query.endswith("/") else query}{imga}'
116
  im_id = f'img_{i}'
117
  link_list.append(imga)
118
  image_out += f"""