LapStore commited on
Commit
8aa8201
·
1 Parent(s): c826078

try space

Browse files
Files changed (1) hide show
  1. server.py +3 -3
server.py CHANGED
@@ -166,8 +166,8 @@ class SegmenterBackground():
166
 
167
 
168
  sound_tmp_file='audio.mp3'
169
- if os.path.exists(sound_tmp_file):# to not give error
170
- os.remove(sound_tmp_file)
171
  #subprocess.run(['ffmpeg', '-i', video_path, '-q:a', '0', '-map', 'a',sound_tmp_file])
172
  #else:
173
  #subprocess.run(['ffmpeg', '-i', video_path, '-q:a', '0', '-map', 'a',sound_tmp_file])
@@ -219,6 +219,6 @@ class SegmenterBackground():
219
 
220
 
221
  #subprocess.run(['ffmpeg', '-i', output_path, '-i', 'audio.mp3', '-c:v', 'copy', '-c:a', 'aac', '-strict', 'experimental',"temp_output_video.mp4" ])
222
- os.remove(sound_tmp_file)
223
 
224
 
 
166
 
167
 
168
  sound_tmp_file='audio.mp3'
169
+ #if os.path.exists(sound_tmp_file):# to not give error
170
+ # os.remove(sound_tmp_file)
171
  #subprocess.run(['ffmpeg', '-i', video_path, '-q:a', '0', '-map', 'a',sound_tmp_file])
172
  #else:
173
  #subprocess.run(['ffmpeg', '-i', video_path, '-q:a', '0', '-map', 'a',sound_tmp_file])
 
219
 
220
 
221
  #subprocess.run(['ffmpeg', '-i', output_path, '-i', 'audio.mp3', '-c:v', 'copy', '-c:a', 'aac', '-strict', 'experimental',"temp_output_video.mp4" ])
222
+ #os.remove(sound_tmp_file)
223
 
224