blunt-octopus commited on
Commit
97967a4
1 Parent(s): 49552ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ with st.form("Taxonomizer"):
76
  st.caption('We **do not** recommend using ArXivTaxonomizer© to choose tags for you new paper.')
77
  if submitted:
78
  if title == '':
79
- st.markdown("You are most definitely abusing our service. No ticket today, but you better be careful.")
80
  else:
81
  prompt = 'Title: ' + title + ' Abstract: ' + abstract
82
  tokens = tokenizer(prompt, truncation=True, padding='max_length', return_tensors='pt')['input_ids']
76
  st.caption('We **do not** recommend using ArXivTaxonomizer© to choose tags for you new paper.')
77
  if submitted:
78
  if title == '':
79
+ st.markdown("You are most definitely abusing our service. Have the decency to at least enter a title.")
80
  else:
81
  prompt = 'Title: ' + title + ' Abstract: ' + abstract
82
  tokens = tokenizer(prompt, truncation=True, padding='max_length', return_tensors='pt')['input_ids']