GilbertClaus commited on
Commit
5c93071
·
verified ·
1 Parent(s): 738e580

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -11,10 +11,10 @@ from trailer import trailer
11
  from others import *
12
 
13
  # Navigasi Sidebar
14
- options = ['Youtube', 'Pornhub', 'Iwara', 'Mega', 'Rule34', 'Paipancon', 'Trailer', 'X']
15
  with st.sidebar:
16
  selected = option_menu("Video Downloader", options,
17
- icons=['play', 'fire', 'star', 'moon','gear', 'house', 'lightning', 'lightning'], menu_icon="cast", default_index=0)
18
 
19
  functions = [youtube, pornhub, iwara, download_youtube, rule34, paipancon, trailer, trailer]
20
 
@@ -29,7 +29,7 @@ if selected:
29
  elif selected == 'Iwara' or selected == 'Mega':
30
  name = st.text_input("Nama File")
31
  video_link = st.text_input("Link Video")
32
- elif selected == 'X':
33
  directory = '/home/user/app/Hasil Konversi'
34
  files = os.listdir(directory)
35
  if not files:
 
11
  from others import *
12
 
13
  # Navigasi Sidebar
14
+ options = ['Youtube', 'Pornhub', 'Iwara', 'Mega', 'Rule34', 'Paipancon', 'Trailer']
15
  with st.sidebar:
16
  selected = option_menu("Video Downloader", options,
17
+ icons=['play', 'fire', 'star', 'moon','gear', 'house', 'lightning'], menu_icon="cast", default_index=0)
18
 
19
  functions = [youtube, pornhub, iwara, download_youtube, rule34, paipancon, trailer, trailer]
20
 
 
29
  elif selected == 'Iwara' or selected == 'Mega':
30
  name = st.text_input("Nama File")
31
  video_link = st.text_input("Link Video")
32
+
33
  directory = '/home/user/app/Hasil Konversi'
34
  files = os.listdir(directory)
35
  if not files: