wt123 commited on
Commit
63bba42
1 Parent(s): 2292ddd
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -15,8 +15,8 @@ def get_response(text):
15
  messages = [
16
  {'role':'system', 'content':'You are a paper abstract information extractor, \
17
  the user inputs a paper abstract, and you are responsible for extracting information. \
18
- The information extracted is: What state of the cancer (this state is usually a mutation in a driver gene) is dependent on which genes or pathways. \
19
- Do not show other information. When there is no such information, just return "No dependency"'},
20
  {'role':'user', 'content':'Abstract: In non–small cell lung cancer (NSCLC), \
21
  concurrent mutations in the oncogene KRAS and the tumor suppressor STK11 encoding the kinase LKB1 result in aggressive tumors \
22
  prone to metastasis but with liabilities arising from reprogrammed metabolism. \
@@ -88,4 +88,4 @@ def gradio():
88
 
89
 
90
  if __name__ == '__main__':
91
- gradio()
 
15
  messages = [
16
  {'role':'system', 'content':'You are a paper abstract information extractor, \
17
  the user inputs a paper abstract, and you are responsible for extracting information. \
18
+ The extracted information should write in the form of: What state of the cancer (this state is usually a mutation in a driver gene) is dependent on which genes or pathways. \
19
+ Do not show other information. When there is no such information (ie. cancer is not dependent on any gene or pathway from the abstract), just return "No dependency"'},
20
  {'role':'user', 'content':'Abstract: In non–small cell lung cancer (NSCLC), \
21
  concurrent mutations in the oncogene KRAS and the tumor suppressor STK11 encoding the kinase LKB1 result in aggressive tumors \
22
  prone to metastasis but with liabilities arising from reprogrammed metabolism. \
 
88
 
89
 
90
  if __name__ == '__main__':
91
+ gradio()