Spaces:
Runtime error
Runtime error
fixup
Browse files
app.py
CHANGED
@@ -20,8 +20,8 @@ if __name__ == '__main__':
|
|
20 |
id2label = json.load(f)['id2label']
|
21 |
|
22 |
id2label = {int(key): value for key, value in id2label.items()}
|
23 |
-
title = st.text_area(label='
|
24 |
-
abstract = st.text_area(label='
|
25 |
text = '\n'.join([title, abstract])
|
26 |
|
27 |
if btn and len(text) == 1:
|
|
|
20 |
id2label = json.load(f)['id2label']
|
21 |
|
22 |
id2label = {int(key): value for key, value in id2label.items()}
|
23 |
+
title = st.text_area(label='', placeholder='Input title...', height=3)
|
24 |
+
abstract = st.text_area(label='', placeholder='Input abstract...', height=10)
|
25 |
text = '\n'.join([title, abstract])
|
26 |
|
27 |
if btn and len(text) == 1:
|