Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,4 +33,4 @@ examples = [['代わる.mp3'],['大丈夫な.mp3'],['熱くない.mp3']]
|
|
33 |
|
34 |
enable_queue=True
|
35 |
|
36 |
-
gr.Interface(fn=predict,inputs=[gr.inputs.Audio(source='microphone', type='filepath', optional=True), gr.inputs.Audio(source='upload', type='filepath', optional=True)], outputs= [gr.outputs.Label(num_top_classes=3),
|
|
|
33 |
|
34 |
enable_queue=True
|
35 |
|
36 |
+
gr.Interface(fn=predict,inputs=[gr.inputs.Audio(source='microphone', type='filepath', optional=True), gr.inputs.Audio(source='upload', type='filepath', optional=True)], outputs= [gr.outputs.Label(num_top_classes=3), gr.outputs.Image(type="plot", label='Spectrogram')], title=title,description=description,article=article,examples=examples).launch(debug=True,share=True,enable_queue=enable_queue)
|