Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,10 @@ A1 = gr.ChatInterface(predict,
|
|
36 |
A2 = gr.load("models/openai/whisper-small",
|
37 |
title=" ",
|
38 |
description="Transcribe Speech and Audio Files",
|
39 |
-
inputs=[
|
|
|
|
|
|
|
40 |
|
41 |
A3 = gr.load(
|
42 |
"models/Salesforce/blip-image-captioning-large",
|
|
|
36 |
A2 = gr.load("models/openai/whisper-small",
|
37 |
title=" ",
|
38 |
description="Transcribe Speech and Audio Files",
|
39 |
+
inputs=[
|
40 |
+
gr.inputs.Audio(source="microphone", type="filepath", optional=True),
|
41 |
+
gr.inputs.Audio(source="upload", type="filepath", optional=True),
|
42 |
+
])
|
43 |
|
44 |
A3 = gr.load(
|
45 |
"models/Salesforce/blip-image-captioning-large",
|