Spaces:
Build error
Build error
Commit
•
69513e2
1
Parent(s):
d350786
Change app file
Browse files
app.py
CHANGED
@@ -18,7 +18,6 @@ inference_model = InferenceModel('/home/user/app/checkpoints/mt3/', 'mt3')
|
|
18 |
def inference(audio):
|
19 |
with open(audio, 'rb') as fd:
|
20 |
contents = fd.read()
|
21 |
-
print("asdfasdf", contents)
|
22 |
|
23 |
audio = upload_audio(contents,sample_rate=16000)
|
24 |
|
@@ -43,4 +42,4 @@ gr.Interface(
|
|
43 |
description=description,
|
44 |
article=article,
|
45 |
examples=examples,
|
46 |
-
).launch()
|
|
|
18 |
def inference(audio):
|
19 |
with open(audio, 'rb') as fd:
|
20 |
contents = fd.read()
|
|
|
21 |
|
22 |
audio = upload_audio(contents,sample_rate=16000)
|
23 |
|
|
|
42 |
description=description,
|
43 |
article=article,
|
44 |
examples=examples,
|
45 |
+
).launch().queue()
|