reallynicejam commited on
Commit
a045bb1
1 Parent(s): 80a815e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -1,3 +1,9 @@
1
  import gradio as gr
2
 
3
- gr.load("models/facebook/xm_transformer_s2ut_hk-en").launch()
 
 
 
 
 
 
 
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()