Spaces:
Runtime error
Runtime error
antoniomae
commited on
Commit
•
395f3fc
1
Parent(s):
af799a2
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ APP_DESCRIPTION = config['APP_DESCRIPTION']
|
|
17 |
def contains_only_ascii(input_string):
|
18 |
return all(ord(char) < 128 for char in input_string)
|
19 |
|
20 |
-
def create_temp_file(
|
21 |
temp_file = tempfile.NamedTemporaryFile(delete=False)
|
22 |
temp_file.write(input_mp3.read())
|
23 |
return temp_file
|
|
|
17 |
def contains_only_ascii(input_string):
|
18 |
return all(ord(char) < 128 for char in input_string)
|
19 |
|
20 |
+
def create_temp_file(input_mp3):
|
21 |
temp_file = tempfile.NamedTemporaryFile(delete=False)
|
22 |
temp_file.write(input_mp3.read())
|
23 |
return temp_file
|