Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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("
|
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(" "):
|