Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import gradio as gr
|
|
| 4 |
|
| 5 |
# Load your pre-trained model
|
| 6 |
model = tf.keras.models.load_model('capuchin_bird_audio.h5')
|
| 7 |
-
class_names = ['
|
| 8 |
# Function to preprocess input for the model
|
| 9 |
def test_preprocess_1(file_path):
|
| 10 |
file_contents = tf.io.read_file(file_path)
|
|
|
|
| 4 |
|
| 5 |
# Load your pre-trained model
|
| 6 |
model = tf.keras.models.load_model('capuchin_bird_audio.h5')
|
| 7 |
+
class_names = ['This Is Not A Capuchin bird','It is a capuchin Bird']
|
| 8 |
# Function to preprocess input for the model
|
| 9 |
def test_preprocess_1(file_path):
|
| 10 |
file_contents = tf.io.read_file(file_path)
|