Update app.py
Browse files
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
|
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:
|