Spaces:
Build error
Build error
File size: 351 Bytes
5c57dac fadabd2 a489845 fadabd2 a489845 3a4f0ea fadabd2 |
1 2 3 4 5 6 7 8 9 10 11 |
pip install git+https://github.com/openai/whisper.git
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() |