Spaces:
Build error
Build error
File size: 296 Bytes
fadabd2 a489845 fadabd2 a489845 3a4f0ea fadabd2 |
1 2 3 4 5 6 7 8 9 10 |
import gradio as gr
import whisper
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() |