Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,12 +33,12 @@ A1 = gr.ChatInterface(predict,
|
|
| 33 |
retry_btn=None,
|
| 34 |
clear_btn="Clear Conversation")
|
| 35 |
|
| 36 |
-
A2 = gr.load("
|
| 37 |
title=" ",
|
| 38 |
description="Transcribe Speech and Audio Files",
|
| 39 |
inputs=[gr.inputs.Audio(source="microphone", type="filepath", optional=True),
|
| 40 |
-
|
| 41 |
-
|
| 42 |
|
| 43 |
A3 = gr.load(
|
| 44 |
"models/Salesforce/blip-image-captioning-large",
|
|
|
|
| 33 |
retry_btn=None,
|
| 34 |
clear_btn="Clear Conversation")
|
| 35 |
|
| 36 |
+
A2 = gr.load("openai/whisper-small",
|
| 37 |
title=" ",
|
| 38 |
description="Transcribe Speech and Audio Files",
|
| 39 |
inputs=[gr.inputs.Audio(source="microphone", type="filepath", optional=True),
|
| 40 |
+
gr.inputs.Audio(source="upload", type="filepath", optional=True, label="Audio file")],
|
| 41 |
+
)
|
| 42 |
|
| 43 |
A3 = gr.load(
|
| 44 |
"models/Salesforce/blip-image-captioning-large",
|