lpw commited on
Commit
afbd15b
1 Parent(s): e48fc3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ examples = [
16
 
17
  io1 = gr.Interface.load("huggingface/facebook/xm_transformer_s2ut_800m-es-en-st-asr-bt_h1_2022", api_key=st.secrets["api_key"])
18
 
19
- def inference(mic,file,model):
20
  if mic is not None and file is None:
21
  audio = mic
22
  elif file is not None and mic is None:
 
16
 
17
  io1 = gr.Interface.load("huggingface/facebook/xm_transformer_s2ut_800m-es-en-st-asr-bt_h1_2022", api_key=st.secrets["api_key"])
18
 
19
+ def inference(mic,file):
20
  if mic is not None and file is None:
21
  audio = mic
22
  elif file is not None and mic is None: