Spaces:
Running
Running
Daniel Gil-U Fuhge
commited on
Commit
•
91b5220
1
Parent(s):
bb2291a
display svg
Browse files
app.py
CHANGED
@@ -22,5 +22,5 @@ if uploaded_file is not None:
|
|
22 |
sys.setrecursionlimit(1500)
|
23 |
animateLogo(path, targetPath)
|
24 |
with open(targetPath, "rb") as file:
|
25 |
-
st.
|
26 |
-
|
|
|
22 |
sys.setrecursionlimit(1500)
|
23 |
animateLogo(path, targetPath)
|
24 |
with open(targetPath, "rb") as file:
|
25 |
+
st.write(file)
|
26 |
+
st.download_button('Download animated SVG', data=file, file_name=uploaded_file.name[:-4]+"_animated.svg")
|