Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -67,8 +67,8 @@ def generate_ai_summary(transcript):
|
|
67 |
|
68 |
# Streamlit UI
|
69 |
|
70 |
-
|
71 |
-
[
|
72 |
)
|
73 |
|
74 |
# with youtube_url_tab:
|
@@ -97,7 +97,7 @@ with file_select_tab:
|
|
97 |
uploaded_video_file = st.file_uploader("Upload video file", type="mp4")
|
98 |
|
99 |
|
100 |
-
if
|
101 |
video_file = uploaded_video_file.read()
|
102 |
|
103 |
if st.button("Transcribe", key="vidfile"):
|
|
|
67 |
|
68 |
# Streamlit UI
|
69 |
|
70 |
+
file_select_tab, audio_file_tab = st.tabs(
|
71 |
+
[ "Video file", "Audio file"]
|
72 |
)
|
73 |
|
74 |
# with youtube_url_tab:
|
|
|
97 |
uploaded_video_file = st.file_uploader("Upload video file", type="mp4")
|
98 |
|
99 |
|
100 |
+
if uploaded_video_file:
|
101 |
video_file = uploaded_video_file.read()
|
102 |
|
103 |
if st.button("Transcribe", key="vidfile"):
|