leavoigt commited on
Commit
624a77f
1 Parent(s): 7f93a13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -52,14 +52,14 @@ st.write("This app allows you to identify whether a text contains any references
52
  input_text = st.text_area('Please enter your text here')
53
 
54
  # Create the output box
55
- output=""
56
  st.text_area(label="Output Data:", value=output, height=350)
57
 
58
  # Make predictions
59
  preds = model(input_text)
60
 
61
  #modelresponse = model_function(input)
62
- st.text_area(label ="",value=preds, height =100)
63
 
64
  # Select lab
65
  #def get_label(prediction_tensor):
@@ -67,5 +67,5 @@ st.text_area(label ="",value=preds, height =100)
67
  #key = prediction_tensor.index(1)
68
  #return group_dict[key]
69
 
70
- st.text(preds)
71
  #st.text(get_label(preds))
 
52
  input_text = st.text_area('Please enter your text here')
53
 
54
  # Create the output box
55
+ #output=""
56
  st.text_area(label="Output Data:", value=output, height=350)
57
 
58
  # Make predictions
59
  preds = model(input_text)
60
 
61
  #modelresponse = model_function(input)
62
+ #st.text_area(label ="",value=preds, height =100)
63
 
64
  # Select lab
65
  #def get_label(prediction_tensor):
 
67
  #key = prediction_tensor.index(1)
68
  #return group_dict[key]
69
 
70
+ st.write(preds)
71
  #st.text(get_label(preds))