Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -29,8 +29,8 @@ article="<p style='text-align: center'><a href='https://github.com/mldurga/proje
|
|
29 |
|
30 |
interpretation='default'
|
31 |
|
32 |
-
examples = ['
|
33 |
|
34 |
enable_queue=True
|
35 |
|
36 |
-
gr.Interface(fn=predict,inputs=gr.inputs.Audio(source='microphone', type='filepath'),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,article=article,interpretation=interpretation,examples=examples).launch(debug=True,share=True,enable_queue=enable_queue)
|
|
|
29 |
|
30 |
interpretation='default'
|
31 |
|
32 |
+
examples = ['代わる.mp3','大丈夫な.mp3','熱くない.mp3']
|
33 |
|
34 |
enable_queue=True
|
35 |
|
36 |
+
gr.Interface(fn=predict,inputs=[gr.inputs.Audio(source='microphone', type='filepath'),gr.inputs.Audio(source='upload', type='filepath')],outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,article=article,interpretation=interpretation,examples=examples).launch(debug=True,share=True,enable_queue=enable_queue)
|