Spaces:
Runtime error
Runtime error
JosephAlexander
commited on
Commit
•
32e676a
1
Parent(s):
bd1bbe9
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ title = st.text_area("TITLE <required>")
|
|
11 |
summary = st.text_area("SUMMARY <optional>")
|
12 |
|
13 |
if (title == ''):
|
14 |
-
raise AttributeError('The TITLE field is required!')
|
15 |
text = title
|
16 |
model_path = './model1_state_dict'
|
17 |
if (summary != ''):
|
|
|
11 |
summary = st.text_area("SUMMARY <optional>")
|
12 |
|
13 |
if (title == ''):
|
14 |
+
raise AttributeError('The TITLE field is required! Please, fill it to see predictions.')
|
15 |
text = title
|
16 |
model_path = './model1_state_dict'
|
17 |
if (summary != ''):
|