vishnun commited on
Commit
ec81302
1 Parent(s): 4a0240d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,13 +33,13 @@ if submit:
33
  num_return_sequences=3
34
  )
35
 
 
36
  for y in outputs:
37
- st.subheader("Most probable: ")
38
 
39
  out_text = ttokenizer.decode(y, skip_special_tokens=True)
40
  st.success(out_text.capitalize())
41
 
42
- st.markdown("### Edited sentences:")
43
  c_text = ""
44
  for x in out_text.lower().split(" "):
45
  if x in input_text.lower().split(" "):
 
33
  num_return_sequences=3
34
  )
35
 
36
+ st.subheader("Most probables: ")
37
  for y in outputs:
 
38
 
39
  out_text = ttokenizer.decode(y, skip_special_tokens=True)
40
  st.success(out_text.capitalize())
41
 
42
+ st.markdown("#### Highlighter on edits:")
43
  c_text = ""
44
  for x in out_text.lower().split(" "):
45
  if x in input_text.lower().split(" "):