arham061 commited on
Commit
4e424e1
1 Parent(s): 3e4e748

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
  # Load the model from Hugging Face space
6
- model = pipeline(task="audio-classification", model="your-username/model-name")
7
 
8
  def classify_audio(audio_file):
9
  # Perform inference using the Hugging Face model
 
3
  from transformers import pipeline
4
 
5
  # Load the model from Hugging Face space
6
+ model = pipeline(task="audio-classification", model="model.safetensors")
7
 
8
  def classify_audio(audio_file):
9
  # Perform inference using the Hugging Face model