crobbi commited on
Commit
00b397e
β€’
1 Parent(s): e716012

Update streamlitapp.py

Browse files
Files changed (1) hide show
  1. streamlitapp.py +2 -2
streamlitapp.py CHANGED
@@ -20,7 +20,7 @@ with st.sidebar:
20
 
21
  st.title('LipNet using StreamLit ✌🏻')
22
  # Generating a list of options or videos
23
- options = os.listdir(os.path.join('..', 'data', 's1'))
24
  selected_video = st.selectbox('Choose video', options)
25
 
26
  # Generate two columns
@@ -31,7 +31,7 @@ if options:
31
  # Rendering the video
32
  with col1:
33
  st.info('The video below displays the converted video in mp4 format')
34
- file_path = os.path.join('..','data','s1', selected_video)
35
  os.system(f'ffmpeg -i {file_path} -vcodec libx264 test_video.mp4 -y')
36
 
37
  # Rendering inside of the app
 
20
 
21
  st.title('LipNet using StreamLit ✌🏻')
22
  # Generating a list of options or videos
23
+ options = os.listdir(os.path.join('data', 's1'))
24
  selected_video = st.selectbox('Choose video', options)
25
 
26
  # Generate two columns
 
31
  # Rendering the video
32
  with col1:
33
  st.info('The video below displays the converted video in mp4 format')
34
+ file_path = os.path.join('data','s1', selected_video)
35
  os.system(f'ffmpeg -i {file_path} -vcodec libx264 test_video.mp4 -y')
36
 
37
  # Rendering inside of the app