shripadbhat commited on
Commit
c7fb698
·
1 Parent(s): 78f41eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -9,7 +9,8 @@ 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, placeholder="What is age of patient..."),gr.Textbox(lines=2, placeholder="The patient is a 71 year old male...")],
 
13
  outputs="text",
14
  )
15
  demo.launch()
 
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...",examples=['questiontest1','questiontest2']),
13
+ gr.Textbox(lines=2, placeholder="The patient is a 71 year old male...", examples=['contexttest1','contexttest2'])],
14
  outputs="text",
15
  )
16
  demo.launch()