Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -72,7 +72,11 @@ def main(audio):
|
|
72 |
return "Classification: " + final
|
73 |
|
74 |
demo = gr.Interface(
|
75 |
-
|
|
|
|
|
|
|
|
|
76 |
inputs=gr.Audio(
|
77 |
sources=["microphone"],
|
78 |
type="filepath",
|
|
|
72 |
return "Classification: " + final
|
73 |
|
74 |
demo = gr.Interface(
|
75 |
+
title = "Audio Gender/Emotion Analysis 🤖",
|
76 |
+
description = "<h3>A Neural Network to classify the gender of the voice (male/female) and the emotion, such as: happy, angry, sad, etc. </h3> <br> <b>Record your voice</b>",
|
77 |
+
article='Step-by-step on GitHub <a href="https://github.com/Ivanrs297/machine-learning-projects/blob/main/computer-vision/edge_detection/main.ipynb"> notebook </a> <br> ~ Ivanrs',
|
78 |
+
allow_flagging = "never",
|
79 |
+
fn = main,
|
80 |
inputs=gr.Audio(
|
81 |
sources=["microphone"],
|
82 |
type="filepath",
|