tsi-org commited on
Commit
2ccb61a
1 Parent(s): c886395

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -251,8 +251,6 @@ def main():
251
  return
252
 
253
  uploaded_video_file = st.file_uploader("Select a video file", type=["mp4", "avi"])
254
-
255
-
256
  uploaded_audio_file = st.file_uploader("Upload overlay audio (optional)", type=["mp3", "wav"])
257
 
258
 
@@ -298,7 +296,7 @@ def main():
298
  prompt = st.text_area("Edit the voiceover script prompt as needed:", value=initial_prompt.format(selected_duration=selected_duration), height=300)
299
 
300
 
301
- if uploaded_file is not None and st.button("START PROCESSING"):
302
  with st.spinner("Processing..."):
303
  overlay_audio_path = None
304
  if overlay_audio_file is not None:
 
251
  return
252
 
253
  uploaded_video_file = st.file_uploader("Select a video file", type=["mp4", "avi"])
 
 
254
  uploaded_audio_file = st.file_uploader("Upload overlay audio (optional)", type=["mp3", "wav"])
255
 
256
 
 
296
  prompt = st.text_area("Edit the voiceover script prompt as needed:", value=initial_prompt.format(selected_duration=selected_duration), height=300)
297
 
298
 
299
+ if uploaded_video_file is not None and st.button("START PROCESSING"):
300
  with st.spinner("Processing..."):
301
  overlay_audio_path = None
302
  if overlay_audio_file is not None: