Spaces:
Runtime error
Runtime error
shripadbhat
commited on
Commit
·
78f41eb
1
Parent(s):
f74ec40
Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,7 @@ def fetch_answer(question, context ):
|
|
8 |
|
9 |
demo = gr.Interface(
|
10 |
fn=fetch_answer,
|
|
|
11 |
inputs=[gr.Textbox(lines=2, placeholder="What is age of patient..."),gr.Textbox(lines=2, placeholder="The patient is a 71 year old male...")],
|
12 |
outputs="text",
|
13 |
)
|
|
|
8 |
|
9 |
demo = gr.Interface(
|
10 |
fn=fetch_answer,
|
11 |
+
#take input as real time audio and use OPENAPI whisper for S2T
|
12 |
inputs=[gr.Textbox(lines=2, placeholder="What is age of patient..."),gr.Textbox(lines=2, placeholder="The patient is a 71 year old male...")],
|
13 |
outputs="text",
|
14 |
)
|