Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -146,7 +146,7 @@ def process_audio_file(file):
|
|
146 |
data = librosa.to_mono(data)
|
147 |
return data
|
148 |
|
149 |
-
def transcribe(audio, state, im4, file):
|
150 |
# Grant additional context
|
151 |
# time.sleep(1)
|
152 |
if state is None:
|
|
|
146 |
data = librosa.to_mono(data)
|
147 |
return data
|
148 |
|
149 |
+
def transcribe(audio, state = "", im4 = "", file = ""):
|
150 |
# Grant additional context
|
151 |
# time.sleep(1)
|
152 |
if state is None:
|