tensorkelechi commited on
Commit
0494178
1 Parent(s): 50d56c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -11,14 +11,13 @@ st.set_page_config(page_title="vidkit_v2")
11
 
12
  st.title("vidkit")
13
  st.write("App for video/audio transcription(Youtube, mp4, mp3)")
14
- st.write("[built to solve a personal problem, might be useful to others too :)]")
15
 
16
 
17
  def youtube_video_downloader(url: str):
18
 
19
  yt_vid = YouTube(url)
20
 
21
- title = yt_vid.title
22
  vid_dld = (
23
  yt_vid.streams.filter(progressive=True, file_extension="mp4")
24
  .order_by("resolution")
@@ -27,6 +26,8 @@ def youtube_video_downloader(url: str):
27
  )
28
  vid_dld = vid_dld.download()
29
 
 
 
30
  return vid_dld, title
31
 
32
 
 
11
 
12
  st.title("vidkit")
13
  st.write("App for video/audio transcription(Youtube, mp4, mp3)")
14
+ st.write("Built to solve a personal problem, might be useful to others too :)")
15
 
16
 
17
  def youtube_video_downloader(url: str):
18
 
19
  yt_vid = YouTube(url)
20
 
 
21
  vid_dld = (
22
  yt_vid.streams.filter(progressive=True, file_extension="mp4")
23
  .order_by("resolution")
 
26
  )
27
  vid_dld = vid_dld.download()
28
 
29
+ title = yt_vid.title
30
+
31
  return vid_dld, title
32
 
33