sarpreetsingh3131 commited on
Commit
d875998
·
1 Parent(s): 02a33ac
Files changed (2) hide show
  1. .gitignore +3 -0
  2. app.py +1 -1
.gitignore ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ .venv
2
+ .DS_Store
3
+
app.py CHANGED
@@ -21,7 +21,7 @@ def transcribe(audio):
21
 
22
  gradio.Interface(
23
  fn=transcribe,
24
- inputs=gradio.Audio(type="filepath", max_length=30),
25
  outputs="label",
26
  title="Model trained to recognise Panjabi speech",
27
  ).launch()
 
21
 
22
  gradio.Interface(
23
  fn=transcribe,
24
+ inputs=gradio.Audio(type="filepath", max_length=30, sources="microphone", format="wav"),
25
  outputs="label",
26
  title="Model trained to recognise Panjabi speech",
27
  ).launch()