Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-roethig-db committed May 18, 2024
1 parent 00d0041 commit 3aae17e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion amondin/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ def transcribe(

print(f"Running on {device}...")

if not input_file_path.endswith("wav"):
print("Conversting audio to .wav...")
if not input_file_path.endswith(".wav"):
file_name = Path(input_file_path).stem
print(file_name)
convert_audio_to_wav(input_file_path, f"{file_name}.wav")
Expand Down

0 comments on commit 3aae17e

Please sign in to comment.