Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
import os
|
|
|
3 |
import tempfile
|
4 |
import subprocess
|
5 |
|
@@ -109,6 +110,7 @@ selected_stem_count = st.radio("Stem count", (2,4,5))
|
|
109 |
if uploaded_file is not None:
|
110 |
|
111 |
#if st.button("Submit"):
|
|
|
112 |
|
113 |
with tempfile.NamedTemporaryFile(delete=False) as temp_file:
|
114 |
temp_file.write(uploaded_file.read())
|
|
|
1 |
import streamlit as st
|
2 |
import os
|
3 |
+
import time
|
4 |
import tempfile
|
5 |
import subprocess
|
6 |
|
|
|
110 |
if uploaded_file is not None:
|
111 |
|
112 |
#if st.button("Submit"):
|
113 |
+
time.sleep(1)
|
114 |
|
115 |
with tempfile.NamedTemporaryFile(delete=False) as temp_file:
|
116 |
temp_file.write(uploaded_file.read())
|