Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pyannote_audio] Rename speech diarization to this new name #766

Merged
merged 17 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
146 changes: 146 additions & 0 deletions pyannote_audio/function.yaml

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions speech_diarization/item.yaml → pyannote_audio/item.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ categories:
- Deep Learning
- Huggingface
- Audio
description: speech diarization of audio files
description: pyannote's speech diarization of audio files
doc: ''
example: speech_diarization.ipynb
example: pyannote_audio.ipynb
generationDate: 2023-12-03:14-30
hidden: false
icon: ''
Expand All @@ -14,10 +14,10 @@ labels:
maintainers: []
marketplaceType: ''
mlrunVersion: 1.5.2
name: speech_diarization
name: pyannote-audio
platformVersion: 3.5.3
spec:
filename: speech_diarization.py
filename: pyannote_audio.py
handler: diarize
image: mlrun/mlrun-gpu
kind: job
Expand All @@ -27,4 +27,4 @@ spec:
- torchaudio
- tqdm
url: ''
version: 2.0.0
version: 1.0.0
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import os

import mlrun
import pytest


@pytest.mark.skipif("HUGGING_FACE_HUB_TOKEN" not in os.environ, reason="no token")
def test_speech_diarization():
project = mlrun.new_project("diarization-test2")
speech_diarization = project.set_function(func="speech_diarization.py", name="speech_diarization",
image="mlrun/mlrun")
speech_diarization = project.set_function(
func="./function.yaml", name="speech_diarization", image="mlrun/mlrun"
)

diarize_run = speech_diarization.run(
handler="diarize",
Expand Down
143 changes: 0 additions & 143 deletions speech_diarization/function.yaml

This file was deleted.

Loading