Spaces:
Runtime error
Runtime error
Commit
·
0b6ce8b
1
Parent(s):
d064c8c
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,7 @@ def fetch_answer(question, context ):
|
|
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, label='Question', show_label=True, placeholder="What is age of patient ?"),
|
13 |
gr.Textbox(lines=10, label='Clinical Note', show_label=True, placeholder="The patient is a 71 year old male...")],
|
14 |
outputs="text",
|
|
|
9 |
demo = gr.Interface(
|
10 |
fn=fetch_answer,
|
11 |
#take input as real time audio and use OPENAPI whisper for S2T
|
12 |
+
#clinical note upload as file (.This is an example of simple text. or doc/docx file)
|
13 |
inputs=[gr.Textbox(lines=2, label='Question', show_label=True, placeholder="What is age of patient ?"),
|
14 |
gr.Textbox(lines=10, label='Clinical Note', show_label=True, placeholder="The patient is a 71 year old male...")],
|
15 |
outputs="text",
|