Spaces:
Running
Running
user01
commited on
Commit
·
0081d36
1
Parent(s):
dd9bb80
[demo] gradio==3.14.0
Browse files- app.py +2 -2
- requirements.txt +1 -1
app.py
CHANGED
@@ -54,9 +54,9 @@ def speaker_verification(audio_path1, audio_path2, lang='CN'):
|
|
54 |
output = OUTPUT_ERROR.format('Please enter two audios')
|
55 |
return output
|
56 |
if lang == 'EN':
|
57 |
-
model = cn_model
|
58 |
-
elif lang == 'CN':
|
59 |
model = en_model
|
|
|
|
|
60 |
else:
|
61 |
output = OUTPUT_ERROR.format('Please select a language')
|
62 |
return output
|
|
|
54 |
output = OUTPUT_ERROR.format('Please enter two audios')
|
55 |
return output
|
56 |
if lang == 'EN':
|
|
|
|
|
57 |
model = en_model
|
58 |
+
elif lang == 'CN':
|
59 |
+
model = cn_model
|
60 |
else:
|
61 |
output = OUTPUT_ERROR.format('Please select a language')
|
62 |
return output
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
gradio
|
2 |
wespeaker @ git+https://github.com/wenet-e2e/wespeaker.git
|
3 |
scikit-learn
|
4 |
httpx==0.24.1
|
|
|
1 |
+
gradio==3.14.0
|
2 |
wespeaker @ git+https://github.com/wenet-e2e/wespeaker.git
|
3 |
scikit-learn
|
4 |
httpx==0.24.1
|