update
Browse files
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
|
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()
|