Update app.py
Browse files
app.py
CHANGED
@@ -48,6 +48,7 @@ def predict(microphone,file_upload):
|
|
48 |
max_length = 100000
|
49 |
warn_output = " "
|
50 |
ans = " "
|
|
|
51 |
if (microphone is not None) and (file_upload is not None):
|
52 |
warn_output = (
|
53 |
"WARNING: You've uploaded an audio file and used the microphone. "
|
|
|
48 |
max_length = 100000
|
49 |
warn_output = " "
|
50 |
ans = " "
|
51 |
+
file_path = " "
|
52 |
if (microphone is not None) and (file_upload is not None):
|
53 |
warn_output = (
|
54 |
"WARNING: You've uploaded an audio file and used the microphone. "
|