Spaces:
Paused
Paused
GilangAlRusliadi commited on
Commit ·
1b262ce
1
Parent(s): 8376e32
Ai
Browse files
app.py
CHANGED
|
@@ -51,7 +51,12 @@ if selected:
|
|
| 51 |
|
| 52 |
else:
|
| 53 |
if st.button(f"Download {selected}"):
|
| 54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
file_size = os.path.getsize(video_file)
|
| 56 |
session(video_info, video_file, cut)
|
| 57 |
st.text_input(f"Video '{judul_video}' setelah diproses:", convert_size(file_size))
|
|
|
|
| 51 |
|
| 52 |
else:
|
| 53 |
if st.button(f"Download {selected}"):
|
| 54 |
+
if selected == 'Youtube' or selected == 'Pornhub':
|
| 55 |
+
video_file, judul_video, video_info = fungsi(video_link, resolution)
|
| 56 |
+
elif selected == 'Iwara' or selected == 'Mega':
|
| 57 |
+
video_file, judul_video, video_info = fungsi(video_link, name)
|
| 58 |
+
else:
|
| 59 |
+
video_file, judul_video, video_info = fungsi(video_link)
|
| 60 |
file_size = os.path.getsize(video_file)
|
| 61 |
session(video_info, video_file, cut)
|
| 62 |
st.text_input(f"Video '{judul_video}' setelah diproses:", convert_size(file_size))
|