test sur serveur sans use_auth_token
Browse files- audio/audioanalyser_diarization.py +2 -1
- index.html +1 -0
audio/audioanalyser_diarization.py
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
#deepneurones = pipeline("text2text-generation", model="google/flan-t5-small")
|
2 |
from pyannote.audio import Pipeline
|
3 |
use_auth_token="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"
|
4 |
-
deepneuronesdiarization = Pipeline.from_pretrained("pyannote/speaker-diarization", use_auth_token=use_auth_token)
|
|
|
5 |
|
6 |
class AudioAnalyserDiarization:
|
7 |
|
|
|
1 |
#deepneurones = pipeline("text2text-generation", model="google/flan-t5-small")
|
2 |
from pyannote.audio import Pipeline
|
3 |
use_auth_token="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"
|
4 |
+
#deepneuronesdiarization = Pipeline.from_pretrained("pyannote/speaker-diarization", use_auth_token=use_auth_token)
|
5 |
+
deepneuronesdiarization = Pipeline.from_pretrained("pyannote/speaker-diarization")
|
6 |
|
7 |
class AudioAnalyserDiarization:
|
8 |
|
index.html
CHANGED
@@ -4,6 +4,7 @@ stt
|
|
4 |
<input type="file" name="file">
|
5 |
<input type="submit" value="ok">
|
6 |
</form>
|
|
|
7 |
diarization
|
8 |
<form action="/diarization" method="post" enctype="multipart/form-data">
|
9 |
<input type="file" name="file">
|
|
|
4 |
<input type="file" name="file">
|
5 |
<input type="submit" value="ok">
|
6 |
</form>
|
7 |
+
<br>
|
8 |
diarization
|
9 |
<form action="/diarization" method="post" enctype="multipart/form-data">
|
10 |
<input type="file" name="file">
|