ardneebwar commited on
Commit
e25ed3d
1 Parent(s): 0ff1206

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import torch
3
  from transformers import pipeline
4
 
5
  username = "ardneebwar" ## Complete your username
6
- model_id = f"{username}/ardneebwar/wav2vec2-animal-sounds-finetuned-hubert-finetuned-animals"
7
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
8
  pipe = pipeline("audio-classification", model=model_id, device=device)
9
 
 
3
  from transformers import pipeline
4
 
5
  username = "ardneebwar" ## Complete your username
6
+ model_id = f"{username}/wav2vec2-animal-sounds-finetuned-hubert-finetuned-animals"
7
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
8
  pipe = pipeline("audio-classification", model=model_id, device=device)
9