Spaces:
Build error
Build error
File size: 314 Bytes
fadabd2 a489845 fadabd2 a489845 3a4f0ea fadabd2 |
1 2 3 4 5 6 7 8 9 10 11 |
import gradio as gr
import whisper
audio = "bsp.mp3"
model = whisper.load_model("base")
def transcribing(file):
transcribe = model.transcribe(audio)
return transcribe["text"]
iface = gr.Interface(fn=greet, inputs = gr.inputs.File(file_count="multiple",label="Input Files"), outputs="text")
iface.launch() |