shripadbhat commited on
Commit
be683a5
·
1 Parent(s): 974c4fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,8 +7,8 @@ def fetch_answer(question, context ):
7
  return qa_model(question = question, context = context)['answer']
8
 
9
  demo = gr.Interface(
10
- title='Question Answering System from Clinical Notes'
11
- description="""Physicians frequently seek answers to questions from a patient’s EHR to support clinical decision-making.​ It is not too hard to imagine a future where a physician interacts with an EHR system and asks it complex questions and expects precise answers with adequate context from a patient’s past clinical notes. ​Central to such a world is a medical question answering system that processes natural language questions asked by physicians and finds answers to the questions from all sources in a patient’s record."""
12
  fn=fetch_answer,
13
  #take input as real time audio and use OPENAPI whisper for S2T
14
  #clinical note upload as file (.This is an example of simple text. or doc/docx file)
 
7
  return qa_model(question = question, context = context)['answer']
8
 
9
  demo = gr.Interface(
10
+ title='Question Answering System from Clinical Notes',
11
+ description="""Physicians frequently seek answers to questions from a patient’s EHR to support clinical decision-making.​ It is not too hard to imagine a future where a physician interacts with an EHR system and asks it complex questions and expects precise answers with adequate context from a patient’s past clinical notes. ​Central to such a world is a medical question answering system that processes natural language questions asked by physicians and finds answers to the questions from all sources in a patient’s record.""",
12
  fn=fetch_answer,
13
  #take input as real time audio and use OPENAPI whisper for S2T
14
  #clinical note upload as file (.This is an example of simple text. or doc/docx file)