JasonTPhillipsJr commited on
Commit
ffa1ad8
1 Parent(s): 7837592

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- st.write("Pseudo-Sentence: ", sentence)
 
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):