kamau1 commited on
Commit
a3db96a
·
verified ·
1 Parent(s): 05de096

Update 01_🎥_Input_YouTube_Link.py

Browse files
Files changed (1) hide show
  1. 01_🎥_Input_YouTube_Link.py +1 -1
01_🎥_Input_YouTube_Link.py CHANGED
@@ -158,7 +158,7 @@ def main():
158
  st.write(f"Model is {'multilingual' if loaded_model.is_multilingual else 'English-only'} "
159
  f"and has {sum(np.prod(p.shape) for p in loaded_model.parameters()):,} parameters.")
160
  link = st.text_input("YouTube Link (The longer the video, the longer the processing time)")
161
- task = st.selectbox("Select Task", ["Transcribe", "Translate with Whisper, Translate with Sema"], index=0)
162
  if task == "Transcribe":
163
  if st.button("Transcribe"):
164
  author, title, description, thumbnail, length, views = populate_metadata(link)
 
158
  st.write(f"Model is {'multilingual' if loaded_model.is_multilingual else 'English-only'} "
159
  f"and has {sum(np.prod(p.shape) for p in loaded_model.parameters()):,} parameters.")
160
  link = st.text_input("YouTube Link (The longer the video, the longer the processing time)")
161
+ task = st.selectbox("Select Task", ["Transcribe", "Translate with Whisper", "Translate with Sema"], index=0)
162
  if task == "Transcribe":
163
  if st.button("Transcribe"):
164
  author, title, description, thumbnail, length, views = populate_metadata(link)