GilbertClaus commited on
Commit
dadfc92
·
1 Parent(s): 313984d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -12
app.py CHANGED
@@ -2,17 +2,6 @@ import streamlit as st
2
  from streamlit_option_menu import option_menu
3
  import streamlit as st
4
  from youtube import cut_video
5
- from datetime import datetime
6
- import time
7
-
8
- finish = False
9
- def digital_clock(finish):
10
- placeholder = st.empty()
11
- stop_button = st.button("Hentikan Jam Digital")
12
- while not finish:
13
- current_time = datetime.now().strftime("%H:%M:%S.%f")[:-3]
14
- placeholder.markdown(f"## {current_time}")
15
- time.sleep(0.1)
16
 
17
  # Navigasi Sidebar
18
  with st.sidebar:
@@ -42,4 +31,3 @@ if selected == 'Youtube':
42
  file_name=video_file.replace('/home/user/app/Hasil Potong', '').title().replace('Mp4', 'mp4'),
43
  mime='application/octet-stream'
44
  )
45
- finish = True
 
2
  from streamlit_option_menu import option_menu
3
  import streamlit as st
4
  from youtube import cut_video
 
 
 
 
 
 
 
 
 
 
 
5
 
6
  # Navigasi Sidebar
7
  with st.sidebar:
 
31
  file_name=video_file.replace('/home/user/app/Hasil Potong', '').title().replace('Mp4', 'mp4'),
32
  mime='application/octet-stream'
33
  )