Update app.py
Browse files
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.
|
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))
|