Narrativa commited on
Commit
eb9f3cc
1 Parent(s): c03af1c

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +113 -0
app.py ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from summarize import summarize
2
+ from data import data
3
+ import streamlit as st
4
+
5
+
6
+ st.write("""
7
+ # AMGEN POC BiTE ReachMD
8
+ """)
9
+
10
+ st.sidebar.image("./NarrativaLogoBlanco.png")
11
+
12
+
13
+ def make_summarizing(new_body, hide=False, num_sentences=3):
14
+ if hide:
15
+ return ''
16
+ result = summarize(
17
+ new_body, sentence_count=num_sentences, language='english')
18
+ return result
19
+
20
+
21
+ st.subheader("Overview")
22
+
23
+
24
+ st.write("""
25
+ ##### Topics:
26
+ - Cancer
27
+ - immuno-oncology
28
+ - New Therapy
29
+ - BiTE
30
+ """)
31
+ st.write("""
32
+ ##### Summary:
33
+ """)
34
+ st.write(make_summarizing(data["intro"]))
35
+ st.write('---')
36
+
37
+
38
+ st.write('##### Conversation:')
39
+ st.write("""
40
+
41
+ ***Overview of the current therapeutic landscape for cancer and the immuno-oncology***
42
+
43
+ """)
44
+ st.write(make_summarizing(data["block_1"]))
45
+
46
+
47
+ st.write("""
48
+
49
+ ***How does the BiTE platform and constituent BiTE molecules actually work***
50
+
51
+ """)
52
+ st.write(make_summarizing(data["block_2"], num_sentences=4))
53
+
54
+
55
+ st.write("""
56
+
57
+ ***Where BiTE molecules are currently being studied***
58
+
59
+ """)
60
+ st.write(make_summarizing(data["block_3"], num_sentences=3))
61
+
62
+
63
+ st.write("""
64
+
65
+ ***Practial approach: Myeloma and BiTE***
66
+
67
+ """)
68
+ st.write(make_summarizing(data["block_4"], num_sentences=6))
69
+
70
+
71
+ st.write("""
72
+
73
+ ***Acute Myeloid Leukemia and BiTE molecules***
74
+
75
+ """)
76
+ st.write(make_summarizing(data["block_5"], num_sentences=6))
77
+
78
+
79
+ st.write("""
80
+
81
+ ***BiTE molecules for solid tumor types***
82
+
83
+ """)
84
+ st.write(make_summarizing(data["block_6"], num_sentences=4))
85
+
86
+
87
+ st.write("""
88
+
89
+ ***Takeaways***
90
+
91
+ """)
92
+ st.write(make_summarizing(data["block_7"], num_sentences=3))
93
+
94
+
95
+ st.write("""
96
+ # MRD Slide Deck
97
+ """)
98
+ st.write("""
99
+ ### Current Landscape in Minimal Residual Disease (MRD) Testing in Hematologic Malignancies
100
+ """)
101
+
102
+
103
+ st.write("""
104
+ - MRD is the presence of malignant cells under the detection limit of conventional methods
105
+ - Strong prognostic indicator of patient outcomes
106
+ - Potential for use in guiding treatment decisions
107
+ - Intensity of therapy
108
+ - Appropriateness of SCT
109
+ - Currently measured using flow cytometry or qPCR
110
+ - Newer testing methods are emerging
111
+ - MRD is currently being evaluated as a potential surrogate endpoint, and may have the potential to replace or augment morphological CR as a response criteria in certain hematologic malignancies
112
+ """)
113
+