Spaces:
Runtime error
Runtime error
Salman11223
commited on
Commit
•
d5f8474
1
Parent(s):
6ac6810
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import re
|
2 |
from gender_prediction import get_gender
|
3 |
import gradio as gr
|
|
|
|
|
4 |
|
5 |
def app(voice):
|
6 |
model_name_or_path = "alefiury/wav2vec2-large-xlsr-53-gender-recognition-librispeech"
|
|
|
1 |
import re
|
2 |
from gender_prediction import get_gender
|
3 |
import gradio as gr
|
4 |
+
import torch
|
5 |
+
|
6 |
|
7 |
def app(voice):
|
8 |
model_name_or_path = "alefiury/wav2vec2-large-xlsr-53-gender-recognition-librispeech"
|