Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,12 @@
|
|
1 |
import numpy as np
|
2 |
import librosa
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
#Read melpectogram of npy file
|
5 |
mel = np.load("melspe.npy")
|
|
|
1 |
import numpy as np
|
2 |
import librosa
|
3 |
+
import gradio as gr
|
4 |
+
|
5 |
+
def greet(name):
|
6 |
+
return "Hello " + name + "!!"
|
7 |
+
|
8 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
9 |
+
iface.launch()
|
10 |
|
11 |
#Read melpectogram of npy file
|
12 |
mel = np.load("melspe.npy")
|