Alexey Kalinin commited on
Commit
717ed87
·
1 Parent(s): a8cb422

no abstarat needed

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ elif input_method == "Manual Input":
40
  st.error("Please provide title")
41
 
42
  # Classification and output
43
- if title and abstract:
44
  categories = top_95_labels(pipe, class2name, title, abstract) # Assuming classify returns a list of labels
45
  st.write(f"### Title: {title}")
46
  st.write("**Predicted Categories:**")
 
40
  st.error("Please provide title")
41
 
42
  # Classification and output
43
+ if title:
44
  categories = top_95_labels(pipe, class2name, title, abstract) # Assuming classify returns a list of labels
45
  st.write(f"### Title: {title}")
46
  st.write("**Predicted Categories:**")