Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -170,7 +170,7 @@ colors = { "DISEASE": "pink","CHEMICAL": "orange"}
|
|
170 |
options = {"ents": [ "DISEASE", "CHEMICAL"],"colors": colors}
|
171 |
ent_html = displacy.render(doc, style="ent", options=options)
|
172 |
|
173 |
-
col1, col2 = st.columns([1,
|
174 |
with col1:
|
175 |
st.button('Summarize')
|
176 |
run_model(runtext)
|
|
|
170 |
options = {"ents": [ "DISEASE", "CHEMICAL"],"colors": colors}
|
171 |
ent_html = displacy.render(doc, style="ent", options=options)
|
172 |
|
173 |
+
col1, col2 = st.columns([1,2])
|
174 |
with col1:
|
175 |
st.button('Summarize')
|
176 |
run_model(runtext)
|