Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -263,6 +263,8 @@ def make_animation_new(gif_box=[]):
|
|
| 263 |
html_out=f"<style>{css}</style><div>"
|
| 264 |
html_out+=f'<div class="img_class"><img src="{gif_data_url}"></div>'
|
| 265 |
html_out+="</div>"
|
|
|
|
|
|
|
| 266 |
except Exception as e:
|
| 267 |
print("ERROR HAPPENED")
|
| 268 |
print(e)
|
|
@@ -270,7 +272,6 @@ def make_animation_new(gif_box=[]):
|
|
| 270 |
else:
|
| 271 |
print("passed")
|
| 272 |
|
| 273 |
-
return html_out
|
| 274 |
def make_html(inp_files):
|
| 275 |
html_out=f"<style>{css}</style><div class='img_box'>"
|
| 276 |
for ea in inp_files:
|
|
|
|
| 263 |
html_out=f"<style>{css}</style><div>"
|
| 264 |
html_out+=f'<div class="img_class"><img src="{gif_data_url}"></div>'
|
| 265 |
html_out+="</div>"
|
| 266 |
+
return html_out
|
| 267 |
+
|
| 268 |
except Exception as e:
|
| 269 |
print("ERROR HAPPENED")
|
| 270 |
print(e)
|
|
|
|
| 272 |
else:
|
| 273 |
print("passed")
|
| 274 |
|
|
|
|
| 275 |
def make_html(inp_files):
|
| 276 |
html_out=f"<style>{css}</style><div class='img_box'>"
|
| 277 |
for ea in inp_files:
|