jhj0517 commited on
Commit
26a063c
·
1 Parent(s): d695e44

fixed file name bug

Browse files
Files changed (1) hide show
  1. modules/whisper_Inference.py +1 -1
modules/whisper_Inference.py CHANGED
@@ -157,7 +157,7 @@ class WhisperInference(BaseInterface):
157
  progress(1, desc="Completed!")
158
 
159
  timestamp = datetime.now().strftime("%m%d%H%M%S")
160
- output_path = os.path.join("outputs", f"{file_name}-{timestamp}")
161
 
162
  if subformat == "SRT":
163
  subtitle = get_srt(result["segments"])
 
157
  progress(1, desc="Completed!")
158
 
159
  timestamp = datetime.now().strftime("%m%d%H%M%S")
160
+ output_path = os.path.join("outputs", f"Mic-{timestamp}")
161
 
162
  if subformat == "SRT":
163
  subtitle = get_srt(result["segments"])