Spaces:
Runtime error
Runtime error
Daniel Gil-U Fuhge
commited on
Commit
·
62fc38e
1
Parent(s):
091c741
updated recursion limit
Browse files
app.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import os
|
|
|
|
| 3 |
from animationPipeline import animateLogo
|
| 4 |
|
| 5 |
|
|
@@ -13,6 +14,7 @@ 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 |
animateLogo(path)
|
| 17 |
st.download_button('Download animated SVG', os.path.join('tempDir', uploaded_file.name))
|
| 18 |
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import os
|
| 3 |
+
import sys
|
| 4 |
from animationPipeline import animateLogo
|
| 5 |
|
| 6 |
|
|
|
|
| 14 |
f.write(uploaded_file.getbuffer())
|
| 15 |
st.success("Saved File")
|
| 16 |
path = os.path.join('tempDir', uploaded_file.name)
|
| 17 |
+
sys.setrecursionlimit(1500)
|
| 18 |
animateLogo(path)
|
| 19 |
st.download_button('Download animated SVG', os.path.join('tempDir', uploaded_file.name))
|
| 20 |
|