Spaces:
Running
Running
Daniel Gil-U Fuhge
commited on
Commit
·
347fa2e
1
Parent(s):
dbc060a
updated app
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
import os
|
3 |
-
from animationPipeline import
|
4 |
|
5 |
|
6 |
uploaded_file = st.file_uploader('Please upload your SVG')
|
@@ -13,7 +13,6 @@ if uploaded_file is not None:
|
|
13 |
f.write(uploaded_file.getbuffer())
|
14 |
st.success("Saved File")
|
15 |
path = os.path.join('tempDir', uploaded_file.name)
|
16 |
-
|
17 |
-
animate_logo(path)
|
18 |
st.download_button('Download animated SVG', os.path.join('tempDir', uploaded_file.name))
|
19 |
|
|
|
1 |
import streamlit as st
|
2 |
import os
|
3 |
+
from animationPipeline import animateLogo
|
4 |
|
5 |
|
6 |
uploaded_file = st.file_uploader('Please upload your SVG')
|
|
|
13 |
f.write(uploaded_file.getbuffer())
|
14 |
st.success("Saved File")
|
15 |
path = os.path.join('tempDir', uploaded_file.name)
|
16 |
+
animateLogo(path)
|
|
|
17 |
st.download_button('Download animated SVG', os.path.join('tempDir', uploaded_file.name))
|
18 |
|