Omnibus commited on
Commit
16bbf43
·
1 Parent(s): fe741c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -89,7 +89,7 @@ def details_fn(query):
89
  """
90
  images = soup.findAll('img')
91
  for img in images:
92
- if not img.startswith("data:"):
93
  image_out += f"""
94
  <div class='im_each'>
95
  <img src={img['src']}>
@@ -97,7 +97,7 @@ def details_fn(query):
97
  """
98
  print (img['src'])
99
  format_out = f"""{image_out}</div>"""
100
- except Exeption as e:
101
  format_out = "None"
102
  print (e)
103
  return out,format_out
 
89
  """
90
  images = soup.findAll('img')
91
  for img in images:
92
+ if not img['src'].startswith("data:"):
93
  image_out += f"""
94
  <div class='im_each'>
95
  <img src={img['src']}>
 
97
  """
98
  print (img['src'])
99
  format_out = f"""{image_out}</div>"""
100
+ except Exception as e:
101
  format_out = "None"
102
  print (e)
103
  return out,format_out