File size: 312 Bytes
3d50426
9fd9429
3d50426
9fd9429
3d50426
9fd9429
 
 
 
 
 
 
2634b87
9fd9429
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr
import os

import streamlit as st

demo = gr.Interface.load(
    "huggingface/facebook/xm_transformer_s2ut_800m-es-en-st-asr-bt_h1_2022",
    title="Speech-to-Speech",
    inputs="mic",
    description="Let me translate what you're saying!",
    api_key=st.secrets["api_key"]
)

demo.launch()