speech-to-text / app.py
MSchell0129
created app file
624e848
raw
history blame
273 Bytes
import gradio as gr
from speech_to_text import transcribe
block = gr.Blocks()
def run():
with block:
gr.Interface(fn=transcribe, inputs="microphone", outputs="text")
block.launch(server_name='0.0.0.0', server_port=7860)
if __name__ == '__main__':
run()