Spaces:
Sleeping
Sleeping
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() | |