Spaces:
Sleeping
Sleeping
Marcos12886
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import pipeline
|
3 |
import numpy as np
|
4 |
from model import SAMPLING_RATE
|
|
|
5 |
modelo = "mixed-data"
|
6 |
# modelo = "cry-detector"
|
7 |
pipe = pipeline("audio-classification", model=f"A-POR-LOS-8000/distilhubert-finetuned-{modelo}")
|
|
|
2 |
from transformers import pipeline
|
3 |
import numpy as np
|
4 |
from model import SAMPLING_RATE
|
5 |
+
os.getenv('MODEL_REPO_ID')
|
6 |
modelo = "mixed-data"
|
7 |
# modelo = "cry-detector"
|
8 |
pipe = pipeline("audio-classification", model=f"A-POR-LOS-8000/distilhubert-finetuned-{modelo}")
|