Aashiue commited on
Commit
ed7c95b
·
1 Parent(s): 1e459ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ ! pip install gradio
2
+ import gradio as gr
3
+ def emotiondetection(audio):
4
+ text = "emotion"
5
+ return text
6
+
7
+ gr.Interface(
8
+ fn = emotiondetection,
9
+ inputs = gr.Audio(source="microphone", type="filepath"),
10
+ outputs = "text").launch()