leavoigt commited on
Commit
80a8daf
1 Parent(s): 55e6d1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
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
- with col1:
51
- input_text = st.text_area('Please enter your text here')
52
 
53
- #preds = model(["input_text"])
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))