GiorgiSekhniashvili
commited on
Commit
·
7f125dd
1
Parent(s):
563898f
Update app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,11 @@ def predict(audio):
|
|
17 |
return processor.batch_decode(res, skip_special_tokens=True)
|
18 |
|
19 |
mic = gr.Audio(source="microphone", type="numpy", label="Speak here...")
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
|
|
|
17 |
return processor.batch_decode(res, skip_special_tokens=True)
|
18 |
|
19 |
mic = gr.Audio(source="microphone", type="numpy", label="Speak here...")
|
20 |
+
|
21 |
+
demo = gr.Interface(predict, mic, "audio")
|
22 |
+
|
23 |
+
if __name__ == "__main__":
|
24 |
+
demo.launch()
|
25 |
+
|
26 |
|
27 |
|