Geek7 commited on
Commit
bac0abc
·
verified ·
1 Parent(s): d72bff4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ footer {visibility: hidden;}
22
  # Create the Gradio interface
23
  demo = gr.Interface(
24
  fn=transcribe, # Function to process input
25
- inputs=gr.Audio(sources="microphone", type="filepath"), # Take audio input
26
  outputs="text", # Display output as text
27
  css=custom_css # Hide the Gradio footer
28
  )
 
22
  # Create the Gradio interface
23
  demo = gr.Interface(
24
  fn=transcribe, # Function to process input
25
+ inputs=gr.Audio(sources="upload"), # Take audio input
26
  outputs="text", # Display output as text
27
  css=custom_css # Hide the Gradio footer
28
  )