Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -41,9 +41,9 @@ text = st.text_area(label='Starting point for text generation', height=200)
|
|
41 |
button = st.button('Go')
|
42 |
|
43 |
if button:
|
44 |
-
try:
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
except Exception:
|
49 |
-
|
|
|
41 |
button = st.button('Go')
|
42 |
|
43 |
if button:
|
44 |
+
#try:
|
45 |
+
result = predict(text, model, tokenizer)
|
46 |
+
st.subheader('Max Korzh:')
|
47 |
+
st.write(result)
|
48 |
+
#except Exception:
|
49 |
+
# st.error("Ooooops, something went wrong. Try again please and report to me, tg: @vladyur")
|