Spaces:
Build error
Build error
Commit
·
f80512e
1
Parent(s):
5c57dac
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,8 @@ import whisper
|
|
4 |
model = whisper.load_model("base")
|
5 |
|
6 |
def transcribing(file):
|
7 |
-
|
8 |
-
|
|
|
9 |
|
10 |
-
iface = gr.Interface(fn=greet, inputs = gr.inputs.File(file_count="multiple",label="Input Files"), outputs="text")
|
11 |
iface.launch()
|
|
|
4 |
model = whisper.load_model("base")
|
5 |
|
6 |
def transcribing(file):
|
7 |
+
return model.transcribe(file)
|
8 |
+
|
9 |
+
iface = gr.Interface(fn=transcribing, inputs = gr.inputs.File(file_count="multiple",label="Input Files"), outputs="text", title="Transcription)
|
10 |
|
|
|
11 |
iface.launch()
|