SameerMahajan
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def recognize_number(audio):
|
|
39 |
|
40 |
gr.close_all()
|
41 |
demo = gr.Interface(fn=recognize_number, inputs = [
|
42 |
-
gr.Audio(sources="microphone", type="filepath", streaming=True),
|
43 |
],
|
44 |
outputs="text")
|
45 |
demo.launch()
|
|
|
39 |
|
40 |
gr.close_all()
|
41 |
demo = gr.Interface(fn=recognize_number, inputs = [
|
42 |
+
gr.Audio(sources=["upload", "microphone"], type="filepath", streaming=True),
|
43 |
],
|
44 |
outputs="text")
|
45 |
demo.launch()
|