mskov commited on
Commit
d9a32db
β€’
1 Parent(s): 0a7507f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from transformers import pipeline
4
 
5
 
6
  classifier = pipeline(task="zero-shot-audio-classification", model="mskov/roberta-base-toxicity")
7
- classifier = pipeline(model="mskov/roberta-base-toxicity")
8
 
9
  audio = "./test/candy-bar-chewing.wav"
10
  classifier(audio, candidate_labels=["Sound of a dog", "Sound of vaccum cleaner", "chewing", "sneezing"])
 
4
 
5
 
6
  classifier = pipeline(task="zero-shot-audio-classification", model="mskov/roberta-base-toxicity")
7
+ # classifier = pipeline(model="mskov/roberta-base-toxicity")
8
 
9
  audio = "./test/candy-bar-chewing.wav"
10
  classifier(audio, candidate_labels=["Sound of a dog", "Sound of vaccum cleaner", "chewing", "sneezing"])