Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,9 +36,11 @@ if submit:
|
|
36 |
st.subheader("Most probable: ")
|
37 |
|
38 |
i = 0
|
|
|
39 |
for y in outputs:
|
|
|
40 |
i = i + 1
|
41 |
-
st.info(str(int(i))
|
42 |
out_text = ttokenizer.decode(y, skip_special_tokens=True)
|
43 |
st.success(out_text.capitalize())
|
44 |
c_text = ""
|
|
|
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 = ""
|