Skip to content

Commit

Permalink
[pyannote_audio] Rename speech diarization to this new name (#766)
Browse files Browse the repository at this point in the history
* [Build] Fix html links, Add <function>.html as source in documentation

* Update CI temporarily and update index

* [XGB-Custom] Fix test artifact key name

* [XGB-Serving][XGB-Test][XGB-Trainer] Fix tests - artifact key

* [Build] Install python 3.9 when testing (#618)

* [Build] Update python version in CI (#620)

* [Build] Install python 3.9 when testing

* [Build] Update python version in CI

* .

* Revert "[Build] Update python version in CI (#620)" (#621)

This reverts commit 0cd1f15.

* Revert "[Build] Install python 3.9 when testing (#618)" (#619)

This reverts commit 3301415.

* [Build] Build with python 3.9 (#622)

* [Build] Build with python 3.9

* .

* rename

* Yoni's comments and new name

---------

Co-authored-by: yonishelach <[email protected]>
Co-authored-by: Yoni Shelach <[email protected]>
  • Loading branch information
3 people authored Jan 9, 2024
1 parent f85b60f commit 95b7dc1
Show file tree
Hide file tree
Showing 7 changed files with 155 additions and 150 deletions.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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.

0 comments on commit 95b7dc1

Please sign in to comment.