Gotenks1893 commited on
Commit
9a6e6ce
·
1 Parent(s): 8e616d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,7 +19,7 @@ if btnTranslate:
19
  fname = video.video_id + ".mp4"
20
  youtubevideo.Download(video, fname)
21
 
22
- st.video(f"videos\{videoId}.mp4")
23
  cols = st.columns(3)
24
  cols[0].header(f'Original')
25
  cols[1].header(f'Whisper')
@@ -42,4 +42,4 @@ if btnTranslate:
42
  cols[2].write(f.read())
43
 
44
  textToSpeech.ttsSingleFile(videoId)
45
- st.audio(f"tts\{videoId}.wav")
 
19
  fname = video.video_id + ".mp4"
20
  youtubevideo.Download(video, fname)
21
 
22
+ st.video(f"videos/{videoId}.mp4")
23
  cols = st.columns(3)
24
  cols[0].header(f'Original')
25
  cols[1].header(f'Whisper')
 
42
  cols[2].write(f.read())
43
 
44
  textToSpeech.ttsSingleFile(videoId)
45
+ st.audio(f"tts/{videoId}.wav")