Spaces:
Running
Running
pierreguillou
commited on
Commit
•
e85efee
1
Parent(s):
fe42d61
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import numpy as np
|
|
10 |
def cleanString(string):
|
11 |
cleanString = unidecode(string)
|
12 |
cleanString = re.sub('\W+','_', cleanString)
|
13 |
-
return cleanString.lower
|
14 |
|
15 |
def read_audio(f, normalized=False):
|
16 |
"""MP3 to numpy array"""
|
@@ -57,4 +57,4 @@ iface = gr.Interface(fn=download_audio,
|
|
57 |
],
|
58 |
allow_flagging="never"
|
59 |
)
|
60 |
-
iface.launch()
|
|
|
10 |
def cleanString(string):
|
11 |
cleanString = unidecode(string)
|
12 |
cleanString = re.sub('\W+','_', cleanString)
|
13 |
+
return cleanString.lower()
|
14 |
|
15 |
def read_audio(f, normalized=False):
|
16 |
"""MP3 to numpy array"""
|
|
|
57 |
],
|
58 |
allow_flagging="never"
|
59 |
)
|
60 |
+
iface.launch(debug=True)
|