Spaces:
Build error
Build error
Commit
·
0f3083a
1
Parent(s):
78d8110
Check audio file
Browse files
app.py
CHANGED
@@ -241,8 +241,9 @@ inference_model = InferenceModel('/home/user/app/checkpoints/mt3/', 'mt3')
|
|
241 |
|
242 |
def inference(audio):
|
243 |
with open(audio, 'rb') as fd:
|
|
|
244 |
contents = fd.read()
|
245 |
-
|
246 |
audio = upload_audio(contents,sample_rate=16000)
|
247 |
|
248 |
est_ns = inference_model(audio)
|
|
|
241 |
|
242 |
def inference(audio):
|
243 |
with open(audio, 'rb') as fd:
|
244 |
+
print("acaasd", audio)
|
245 |
contents = fd.read()
|
246 |
+
|
247 |
audio = upload_audio(contents,sample_rate=16000)
|
248 |
|
249 |
est_ns = inference_model(audio)
|