Eric Guan
Updated app.py
0340380
raw
history blame
279 Bytes
import gradio as gr
from transformers import pipeline
# model = "openai/whisper-small"
# pipe = pipeline("automatic-speech-recognition", model=model)
def greet(name):
return "Hello " + name + "!!"
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
demo.launch()