Spaces:
Sleeping
Sleeping
JasonTPhillipsJr
commited on
Commit
•
ffa1ad8
1
Parent(s):
7837592
Update app.py
Browse files
app.py
CHANGED
@@ -293,7 +293,8 @@ if st.button("Process Review"):
|
|
293 |
|
294 |
#Display pseudo sentences found
|
295 |
for sentence in current_pseudo_sentences:
|
296 |
-
|
|
|
297 |
|
298 |
#Display the models prediction
|
299 |
if(prediction == 0):
|
|
|
293 |
|
294 |
#Display pseudo sentences found
|
295 |
for sentence in current_pseudo_sentences:
|
296 |
+
clean_sentence = sentence.replace("[PAD]", "").strip()
|
297 |
+
st.write("Pseudo-Sentence:", clean_sentence)
|
298 |
|
299 |
#Display the models prediction
|
300 |
if(prediction == 0):
|