dsorokin commited on
Commit
d3bba99
·
1 Parent(s): 2fc0e56
Files changed (1) hide show
  1. app.py +2 -2
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='Input title...', placeholder='Input title...', label_visibility='hidden', height=3)
24
- abstract = st.text_area(label='Input title...', placeholder='Input abstract...', label_visibility='hidden', height=10)
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: