Spaces:
Paused
Paused
GilangAlRusliadi commited on
Commit ·
2cf399d
1
Parent(s): 49384d8
Yoi
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ if selected:
|
|
| 32 |
else:
|
| 33 |
video_link = st.text_input("Link Video")
|
| 34 |
|
| 35 |
-
choice = st.radio('Pilih
|
| 36 |
|
| 37 |
if choice == 'Potong Video':
|
| 38 |
start_time = st.text_input("Start Time", value='00:07:12.000')
|
|
@@ -53,7 +53,7 @@ if selected:
|
|
| 53 |
elif choice == 'Compress Video':
|
| 54 |
compress = st.selectbox("Pilih Resolusi Compress", (360, 480, 720), 2)
|
| 55 |
|
| 56 |
-
if st.button(f"Download and
|
| 57 |
if selected == 'Youtube' or selected == 'Pornhub':
|
| 58 |
video_file, judul_video, video_info, thumbnail_file = fungsi(video_link, resolution)
|
| 59 |
elif selected == 'Iwara' or selected == 'Mega':
|
|
|
|
| 32 |
else:
|
| 33 |
video_link = st.text_input("Link Video")
|
| 34 |
|
| 35 |
+
choice = st.radio('Pilih Proses:', ['Potong Video', 'Compress Video', 'Cuma Download'], 2)
|
| 36 |
|
| 37 |
if choice == 'Potong Video':
|
| 38 |
start_time = st.text_input("Start Time", value='00:07:12.000')
|
|
|
|
| 53 |
elif choice == 'Compress Video':
|
| 54 |
compress = st.selectbox("Pilih Resolusi Compress", (360, 480, 720), 2)
|
| 55 |
|
| 56 |
+
if st.button(f"Download and Compress {selected}"):
|
| 57 |
if selected == 'Youtube' or selected == 'Pornhub':
|
| 58 |
video_file, judul_video, video_info, thumbnail_file = fungsi(video_link, resolution)
|
| 59 |
elif selected == 'Iwara' or selected == 'Mega':
|