broadfield-dev commited on
Commit
3ed286b
·
verified ·
1 Parent(s): 9bd975b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -91,6 +91,7 @@ def make_animation(url1="",url2="",url3="",url4="",url5="",url6="",url7="",url8=
91
  files_out=[]
92
  html_out=""
93
  for line in spl[:cnt]:
 
94
  print(line)
95
  gif_box=[]
96
 
@@ -123,8 +124,12 @@ def make_animation(url1="",url2="",url3="",url4="",url5="",url6="",url7="",url8=
123
  html_out+=f'<div class="img_class"><a href="{get_url2}{spl2}" target="_blank">{spl2}</a><br><img src={get_url2}{spl2}></div>'
124
  html_out+="</div>"
125
  except Exception as e:
 
126
  print(e)
127
 
 
 
 
128
  return html_out
129
 
130
  def load_json(url1="",url2="",url3="",url4="",url5="",url6="",url7="",url8=""):
 
91
  files_out=[]
92
  html_out=""
93
  for line in spl[:cnt]:
94
+ try:
95
  print(line)
96
  gif_box=[]
97
 
 
124
  html_out+=f'<div class="img_class"><a href="{get_url2}{spl2}" target="_blank">{spl2}</a><br><img src={get_url2}{spl2}></div>'
125
  html_out+="</div>"
126
  except Exception as e:
127
+ print("ERROR HAPPENED")
128
  print(e)
129
 
130
+ else:
131
+ print("passed")
132
+
133
  return html_out
134
 
135
  def load_json(url1="",url2="",url3="",url4="",url5="",url6="",url7="",url8=""):