aiqcamp commited on
Commit
cc9de78
ยท
verified ยท
1 Parent(s): 270c78c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -4,7 +4,7 @@ from pytube import YouTube
4
  class YouTubeDownloader:
5
  @staticmethod
6
  def run():
7
- st.header("YouTube Video Downloader")
8
  url = st.text_input("Enter YouTube URL to download:")
9
  if url:
10
  YouTubeDownloader.validate_url(url)
@@ -15,7 +15,7 @@ class YouTubeDownloader:
15
  file_ = YouTubeDownloader.download_video(url)
16
  st.video(file_)
17
  YouTubeDownloader.helper_message()
18
- st.markdown("> App made by Abhay Koul ([HelpingAI on GitHub](https://github.com/HelpingAI))")
19
 
20
 
21
  @staticmethod
@@ -35,7 +35,7 @@ class YouTubeDownloader:
35
  import validators
36
 
37
  if not validators.url(url):
38
- st.error("Hi there ๐Ÿ‘‹ URL seems invalid ๐Ÿ‘ฝ")
39
  st.stop()
40
 
41
  @classmethod
@@ -50,8 +50,7 @@ class YouTubeDownloader:
50
  @classmethod
51
  def helper_message(cls):
52
  st.write(
53
- "> To save the video to local computer, "
54
- "click the vertical ... icon (aka hamburger button) in the bottom-right corner (in the video above) and click download."
55
  )
56
 
57
 
 
4
  class YouTubeDownloader:
5
  @staticmethod
6
  def run():
7
+ st.header("์œ ํŠœ๋ธŒ(Youtube) ์˜์ƒ URL๋กœ ๋‹ค์šด๋กœ๋“œ")
8
  url = st.text_input("Enter YouTube URL to download:")
9
  if url:
10
  YouTubeDownloader.validate_url(url)
 
15
  file_ = YouTubeDownloader.download_video(url)
16
  st.video(file_)
17
  YouTubeDownloader.helper_message()
18
+ st.markdown("https://github.com/HelpingAI))")
19
 
20
 
21
  @staticmethod
 
35
  import validators
36
 
37
  if not validators.url(url):
38
+ st.error("URL์ด ์ •์ƒ์ ์ด์ง€ ์•Š์Šต๋‹ˆ๋‹ค.")
39
  st.stop()
40
 
41
  @classmethod
 
50
  @classmethod
51
  def helper_message(cls):
52
  st.write(
53
+ "์˜์ƒ ํ™”๋ฉด ์šฐ์ธก ํ•˜๋‹จ ... ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด ๋‹ค์šด๋กœ๋“œ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค."
 
54
  )
55
 
56