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 1ff67a9 commit a3193f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions amondin/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"""

import pandas as pd
from pathlib import Path

from amondin.tools import convert_audio_to_wav
from amondin.diarize_speakers import diarize_speakers
from amondin.speech2text import speech2text

Expand All @@ -27,6 +29,10 @@ def transcribe(

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

if not input_file_path.endswith("wav"):
file_name = Path(input_file_path).stem
convert_audio_to_wav(input_file_path, )

print("Diarizing speakers...")
diarized_speakers = diarize_speakers(
input_file_path,
Expand Down

0 comments on commit a3193f9

Please sign in to comment.