Update app.py
Browse files
app.py
CHANGED
@@ -45,12 +45,8 @@ def predict(text):
|
|
45 |
st.title("Identify references to vulnerable groups.")
|
46 |
st.write("This app allows you to identify whether a text contains any references to vulnerable groups. This can, for example, be used to analyse policy documents.")
|
47 |
|
48 |
-
col1, col2 = st.columns(2)
|
49 |
|
50 |
-
|
51 |
-
input_text = st.text_area('Please enter your text here')
|
52 |
|
53 |
-
|
54 |
-
|
55 |
-
with col2:
|
56 |
-
st.text(predict(input_text))
|
|
|
45 |
st.title("Identify references to vulnerable groups.")
|
46 |
st.write("This app allows you to identify whether a text contains any references to vulnerable groups. This can, for example, be used to analyse policy documents.")
|
47 |
|
48 |
+
#col1, col2 = st.columns(2)
|
49 |
|
50 |
+
input_text = st.text_area('Please enter your text here')
|
|
|
51 |
|
52 |
+
st.text(predict(input_text))
|
|
|
|
|
|