Reem333 commited on
Commit
627ee0d
1 Parent(s): f06be6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -83,7 +83,7 @@ if selected_category == "Other":
83
 
84
  combined_text = f"{title_input} [SEP] {keywords_input} [SEP] {abstract_input} [SEP] {selected_category} [SEP] {affiliations_input}"
85
  if st.button("Predict"):
86
- if not any([title_input, abstract_input, keywords_input, full_text_input, affiliations_input]):
87
  st.warning("Please enter paper text.")
88
  else:
89
  with st.spinner("Predicting..."):
 
83
 
84
  combined_text = f"{title_input} [SEP] {keywords_input} [SEP] {abstract_input} [SEP] {selected_category} [SEP] {affiliations_input}"
85
  if st.button("Predict"):
86
+ if not any([title_input, abstract_input, keywords_input, affiliations_input]):
87
  st.warning("Please enter paper text.")
88
  else:
89
  with st.spinner("Predicting..."):