Marcos12886 commited on
Commit
36a48ee
·
verified ·
1 Parent(s): 11873b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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}")