Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,12 +35,8 @@ if submit:
|
|
| 35 |
|
| 36 |
st.subheader("Most probable: ")
|
| 37 |
|
| 38 |
-
i = 0
|
| 39 |
-
|
| 40 |
for y in outputs:
|
| 41 |
|
| 42 |
-
i = i + 1
|
| 43 |
-
st.info(str(int(i)))
|
| 44 |
out_text = ttokenizer.decode(y, skip_special_tokens=True)
|
| 45 |
st.success(out_text.capitalize())
|
| 46 |
c_text = ""
|
|
@@ -52,4 +48,4 @@ if submit:
|
|
| 52 |
|
| 53 |
ct = c_text.capitalize()
|
| 54 |
st.markdown(str(ct), unsafe_allow_html=True)
|
| 55 |
-
|
|
|
|
| 35 |
|
| 36 |
st.subheader("Most probable: ")
|
| 37 |
|
|
|
|
|
|
|
| 38 |
for y in outputs:
|
| 39 |
|
|
|
|
|
|
|
| 40 |
out_text = ttokenizer.decode(y, skip_special_tokens=True)
|
| 41 |
st.success(out_text.capitalize())
|
| 42 |
c_text = ""
|
|
|
|
| 48 |
|
| 49 |
ct = c_text.capitalize()
|
| 50 |
st.markdown(str(ct), unsafe_allow_html=True)
|
| 51 |
+
st.markdown("***", unsafe_allow_html=True)
|