jsd219 commited on
Commit
0f31a35
·
verified ·
1 Parent(s): e2147e2

Update app.py

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