Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -71,24 +71,24 @@ youtube_url_tab, file_select_tab, audio_file_tab = st.tabs(
|
|
71 |
["Youtube url", "Video file", "Audio file"]
|
72 |
)
|
73 |
|
74 |
-
with youtube_url_tab:
|
75 |
-
|
76 |
|
77 |
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
|
93 |
|
94 |
# Video file transcription
|
|
|
71 |
["Youtube url", "Video file", "Audio file"]
|
72 |
)
|
73 |
|
74 |
+
# with youtube_url_tab:
|
75 |
+
# url = st.text_input("Enter the Youtube url")
|
76 |
|
77 |
|
78 |
+
# yt_video, title = youtube_video_downloader(url)
|
79 |
+
# if url:
|
80 |
+
# if st.button("Transcribe", key="yturl"):
|
81 |
+
# with st.spinner("Transcribing..."):
|
82 |
+
# audio = audio_extraction(yt_video, "mp3")
|
83 |
+
# audio = audio_processing(audio)
|
84 |
+
# ytvideo_transcript = transcriber_pass(audio)
|
85 |
+
# st.success(f"Transcription successful")
|
86 |
+
# st.write(ytvideo_transcript)
|
87 |
+
# # st.write(f'Completed in {run_time}')
|
88 |
|
89 |
+
# if st.button("Generate Summary"):
|
90 |
+
# summary = generate_ai_summary(ytvideo_transcript)
|
91 |
+
# st.write(summary)
|
92 |
|
93 |
|
94 |
# Video file transcription
|