Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def prediction_age_gender(fileName):
|
|
58 |
|
59 |
demo = gr.Interface(
|
60 |
prediction_age_gender,
|
61 |
-
inputs = [gr.Audio(sources=["microphone","upload"], type = 'filepath')],
|
62 |
outputs = [gr.Label(num_top_classes=2, label = 'Gender'), gr.Label(num_top_classes=9, label = 'Age Class')],
|
63 |
#gr.Text()
|
64 |
).launch(share=True, debug = True)
|
|
|
58 |
|
59 |
demo = gr.Interface(
|
60 |
prediction_age_gender,
|
61 |
+
inputs = [gr.Audio(sources=["microphone","upload"], type = 'filepath', label = 'Audio File')],
|
62 |
outputs = [gr.Label(num_top_classes=2, label = 'Gender'), gr.Label(num_top_classes=9, label = 'Age Class')],
|
63 |
#gr.Text()
|
64 |
).launch(share=True, debug = True)
|