Spaces:
Running
Running
Daniel Gil-U Fuhge
commited on
Commit
•
2b65f48
1
Parent(s):
75f41fe
change download
Browse files
app.py
CHANGED
@@ -21,5 +21,5 @@ if uploaded_file is not None:
|
|
21 |
sys.setrecursionlimit(1500)
|
22 |
animateLogo(path)
|
23 |
with open(path, "rb") as file:
|
24 |
-
st.download_button('Download animated SVG', file_name=uploaded_file.name+"_animated.svg")
|
25 |
|
|
|
21 |
sys.setrecursionlimit(1500)
|
22 |
animateLogo(path)
|
23 |
with open(path, "rb") as file:
|
24 |
+
st.download_button('Download animated SVG', data=file, file_name=uploaded_file.name+"_animated.svg")
|
25 |
|