Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ if option == "Text":
|
|
78 |
custom_category = st.text_input("Enter custom category:")
|
79 |
selected_category = custom_category if custom_category else "Other"
|
80 |
|
81 |
-
combined_text = f"{title_input} [SEP] {keywords_input} [SEP] {abstract_input} [SEP] {full_text_input} [SEP] {affiliations_input} [SEP] {' [SEP] '.join(
|
82 |
|
83 |
if st.button("Predict"):
|
84 |
if not any([title_input, abstract_input,keywords_input, full_text_input, affiliations_input]):
|
|
|
78 |
custom_category = st.text_input("Enter custom category:")
|
79 |
selected_category = custom_category if custom_category else "Other"
|
80 |
|
81 |
+
combined_text = f"{title_input} [SEP] {keywords_input} [SEP] {abstract_input} [SEP] {full_text_input} [SEP] {affiliations_input} [SEP] {' [SEP] '.join(selected_category)}"
|
82 |
|
83 |
if st.button("Predict"):
|
84 |
if not any([title_input, abstract_input,keywords_input, full_text_input, affiliations_input]):
|