leavoigt commited on
Commit
18ca863
·
1 Parent(s): 77a6d9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ group_dict = {
40
  # Define prediction function
41
  def predict(text):
42
  preds = model([text])[0].item()
43
- # return group_dict[preds]
44
 
45
  # App
46
  st.title("Identify references to vulnerable groups.")
 
40
  # Define prediction function
41
  def predict(text):
42
  preds = model([text])[0].item()
43
+ return group_dict[preds]
44
 
45
  # App
46
  st.title("Identify references to vulnerable groups.")