Spaces:
Sleeping
Sleeping
miaohaiyuan
commited on
Commit
•
e1d1f6d
1
Parent(s):
dcc0d7d
to support mp4 file
Browse files
app.py
CHANGED
@@ -345,7 +345,7 @@ try:
|
|
345 |
# Add radio button to choose between file upload and YouTube link
|
346 |
|
347 |
if input_method == "Upload audio file":
|
348 |
-
audio_file = st.file_uploader("Upload an audio file", type=["mp3", "wav", "m4a"]) # TODO: Add a max size
|
349 |
else:
|
350 |
youtube_link = st.text_input("Enter YouTube link:", "")
|
351 |
|
|
|
345 |
# Add radio button to choose between file upload and YouTube link
|
346 |
|
347 |
if input_method == "Upload audio file":
|
348 |
+
audio_file = st.file_uploader("Upload an audio file", type=["mp3", "wav", "m4a", "mp4"]) # TODO: Add a max size
|
349 |
else:
|
350 |
youtube_link = st.text_input("Enter YouTube link:", "")
|
351 |
|