Update app.py
Browse files
app.py
CHANGED
@@ -75,6 +75,7 @@ def preprocess_single_audio_vgg16(audio_data, sr, vgg16_model, pca_instance):
|
|
75 |
features_tensor = torch.from_numpy(features_pca).float()
|
76 |
return features_tensor
|
77 |
|
|
|
78 |
def predict_language(audio_input):
|
79 |
# Load VGG16 model
|
80 |
if isinstance(audio_input, str):
|
|
|
75 |
features_tensor = torch.from_numpy(features_pca).float()
|
76 |
return features_tensor
|
77 |
|
78 |
+
|
79 |
def predict_language(audio_input):
|
80 |
# Load VGG16 model
|
81 |
if isinstance(audio_input, str):
|