Spaces:
Build error
Build error
lingbionlp
commited on
Commit
•
e65440f
1
Parent(s):
607749c
Update app.py
Browse files
app.py
CHANGED
@@ -125,7 +125,7 @@ with st.form(key="my_form"):
|
|
125 |
|
126 |
para_overlap = st.checkbox(
|
127 |
"Overlap concept",
|
128 |
-
value=
|
129 |
help="Tick this box to identify overlapping concepts",
|
130 |
)
|
131 |
para_abbr = st.checkbox(
|
@@ -151,7 +151,7 @@ with st.form(key="my_form"):
|
|
151 |
|
152 |
doc = st.text_area(
|
153 |
"Paste your text below",
|
154 |
-
|
155 |
height=400,
|
156 |
)
|
157 |
|
@@ -177,7 +177,7 @@ with st.form(key="my_form"):
|
|
177 |
if not submit_button:
|
178 |
st.stop()
|
179 |
|
180 |
-
|
181 |
para_set={
|
182 |
#model_type':para_model, # cnn or bioformer
|
183 |
'onlyLongest':para_overlap, # False: return overlap concepts, True only longgest
|
|
|
125 |
|
126 |
para_overlap = st.checkbox(
|
127 |
"Overlap concept",
|
128 |
+
value=False,
|
129 |
help="Tick this box to identify overlapping concepts",
|
130 |
)
|
131 |
para_abbr = st.checkbox(
|
|
|
151 |
|
152 |
doc = st.text_area(
|
153 |
"Paste your text below",
|
154 |
+
placeholder = 'The clinical features of Angelman syndrome (AS) comprise severe mental retardation, postnatal microcephaly, macrostomia and prognathia, absence of speech, ataxia, and a happy disposition. We report on seven patients who lack most of these features, but presented with obesity, muscular hypotonia and mild mental retardation. Based on the latter findings, the patients were initially suspected of having Prader-Willi syndrome. DNA methylation analysis of SNRPN and D15S63, however, revealed an AS pattern, ie the maternal band was faint or absent. Cytogenetic studies and microsatellite analysis demonstrated apparently normal chromosomes 15 of biparental inheritance. We conclude that these patients have an imprinting defect and a previously unrecognised form of AS. The mild phenotype may be explained by an incomplete imprinting defect or by cellular mosaicism.',
|
155 |
height=400,
|
156 |
)
|
157 |
|
|
|
177 |
if not submit_button:
|
178 |
st.stop()
|
179 |
|
180 |
+
st.write(para_overlap,para_abbr,para_threshold)
|
181 |
para_set={
|
182 |
#model_type':para_model, # cnn or bioformer
|
183 |
'onlyLongest':para_overlap, # False: return overlap concepts, True only longgest
|