Spaces:
Runtime error
Runtime error
reallynicejam
commited on
Commit
•
a045bb1
1
Parent(s):
80a815e
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
gr.load("models/facebook/xm_transformer_s2ut_hk-en")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
model = gr.load("models/facebook/xm_transformer_s2ut_hk-en")
|
4 |
+
demo = gr.Interface(
|
5 |
+
gr.Audio(sources=["microphone"]),
|
6 |
+
outputs="audio",
|
7 |
+
model
|
8 |
+
)
|
9 |
+
demo.launch()
|