Skip to content

Commit

Permalink
setup install
Browse files Browse the repository at this point in the history
  • Loading branch information
Tryndaron committed Apr 2, 2024
1 parent 5ee519d commit d458c28
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 122 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
run:
python -m pip install --upgrade pip
pip install -r requirements.txt
python install .
pip install pytest


Expand Down
4 changes: 2 additions & 2 deletions test/test_diarisation.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
import os
from unittest import mock
from scraibe import Diariser
from scraibe import diarisation, Diariser



Expand All @@ -15,7 +15,7 @@ def diariser_instance():
Returns:
Diariser(Obj): An instance of the Diariser class with a mocked token.
"""
with mock.patch.object(Diariser, '_get_token', return_value = 'personal Hugging-Face token')
with mock.patch.object(Diariser, '_get_token', return_value = 'HF_TOKEN' ):
return Diariser('pyannote')


Expand Down
120 changes: 0 additions & 120 deletions tests/test_autotranscript.py

This file was deleted.

0 comments on commit d458c28

Please sign in to comment.