MrAli813 commited on
Commit
326cd74
1 Parent(s): 8f64920

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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=[gr.inputs.Audio(source="microphone", type="filepath", optional=True)])
 
 
 
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",