Skip to content

Commit

Permalink
renaming to amondin
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-roethig-db committed Apr 15, 2024
1 parent c96b899 commit a70670a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
name="amondin",
version="0.0.1",
author="Tim Röthig",
python_requires=">=3.9",
packages=find_packages(),
install_requires=[
"transformers==4.39.3",
Expand Down
6 changes: 4 additions & 2 deletions test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
from amondin import get_secret, diarize_speakers, speech2text, transcribe, convert_audio_to_wav


# convert_audio_to_wav("data/sample_short.mp3", "data/sample_short.wav")

# print(diarize_speakers("./data/sample.wav", hf_token=get_secret("./secrets.yaml", "hf-token")))

# diarized_speakers = diarize_speakers("./data/sample.wav", hf_token=get_secret("./secrets.yaml", "hf-token"))
Expand All @@ -11,8 +13,8 @@
"./data/sample_short.wav",
hf_token=get_secret("./secrets.yaml", "hf-token"),
s2t_model="openai/whisper-tiny",
language=None,
language="german",
num_speakers=2
)

# convert_audio_to_wav("data/sample_short.mp3", "data/sample_short.wav")

0 comments on commit a70670a

Please sign in to comment.