Update app.py
Browse files
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="
|
| 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="FYP_Model")
|
| 7 |
|
| 8 |
def classify_audio(audio_file):
|
| 9 |
# Perform inference using the Hugging Face model
|