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() |