Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -31,4 +31,4 @@ def predecir(ruta_wav_predecir):
|
|
31 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
32 |
|
33 |
# Creamos la interfaz y la lanzamos.
|
34 |
-
gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(128, 128)), outputs=gr.outputs.Label(num_top_classes=3),examples=['
|
|
|
31 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
32 |
|
33 |
# Creamos la interfaz y la lanzamos.
|
34 |
+
gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(128, 128)), outputs=gr.outputs.Label(num_top_classes=3),examples=['dog00f0204f_nohash_0.wav','right0132a06d_nohash_0.wav']).launch(share=False)
|