Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -187,7 +187,7 @@ def redirigir_a_pantalla_inicial():
|
|
187 |
|
188 |
#monitor_model = HubertForSequenceClassification.from_pretrained("A-POR-LOS-8000/distilhubert-finetuned-cry-detector",use_auth_token=access_token_mod_1)
|
189 |
|
190 |
-
pipeline_monitor = pipeline(model=
|
191 |
|
192 |
def predict_monitor(stream, new_chunk):
|
193 |
sr, y = new_chunk
|
|
|
187 |
|
188 |
#monitor_model = HubertForSequenceClassification.from_pretrained("A-POR-LOS-8000/distilhubert-finetuned-cry-detector",use_auth_token=access_token_mod_1)
|
189 |
|
190 |
+
pipeline_monitor = pipeline(model="Robertomarting/tmp_trainer",token=access_token_mod_1,feature_extractor=processor)
|
191 |
|
192 |
def predict_monitor(stream, new_chunk):
|
193 |
sr, y = new_chunk
|