Spaces:
Runtime error
Runtime error
Commit
·
f433e21
1
Parent(s):
82a7fca
fix loading bar
Browse files
Home.py
CHANGED
@@ -26,10 +26,9 @@ def app():
|
|
26 |
|
27 |
file = st.file_uploader("Upload Files",type=['mp4','wav','mp3'])
|
28 |
|
29 |
-
progress_bar = st.progress(0)
|
30 |
-
status_text = st.empty()
|
31 |
-
|
32 |
if file is not None:
|
|
|
|
|
33 |
status_text.text('Uploading file...')
|
34 |
progress_bar.progress(10)
|
35 |
st.write(file.name)
|
|
|
26 |
|
27 |
file = st.file_uploader("Upload Files",type=['mp4','wav','mp3'])
|
28 |
|
|
|
|
|
|
|
29 |
if file is not None:
|
30 |
+
progress_bar = st.progress(0)
|
31 |
+
status_text = st.empty()
|
32 |
status_text.text('Uploading file...')
|
33 |
progress_bar.progress(10)
|
34 |
st.write(file.name)
|