Update app110.py
Browse files
app110.py
CHANGED
@@ -225,8 +225,7 @@ if "task_choice" in st.session_state:
|
|
225 |
"Classification Type",
|
226 |
["Sentiment Analysis", "Binary Classification", "Multi-Class Classification"]
|
227 |
)
|
228 |
-
|
229 |
-
#labels = []
|
230 |
labels = []
|
231 |
labels_valid = False
|
232 |
errors = []
|
@@ -289,7 +288,7 @@ if "task_choice" in st.session_state:
|
|
289 |
"Grocery & Gourmet Food","Watches & Accessories", "Baby Products"]
|
290 |
}
|
291 |
|
292 |
-
num_classes = st.slider("Number of classes", 3,
|
293 |
|
294 |
# Get defaults for selected domain, or empty list
|
295 |
defaults = default_labels_by_domain.get(domain, [])
|
|
|
225 |
"Classification Type",
|
226 |
["Sentiment Analysis", "Binary Classification", "Multi-Class Classification"]
|
227 |
)
|
228 |
+
|
|
|
229 |
labels = []
|
230 |
labels_valid = False
|
231 |
errors = []
|
|
|
288 |
"Grocery & Gourmet Food","Watches & Accessories", "Baby Products"]
|
289 |
}
|
290 |
|
291 |
+
num_classes = st.slider("Number of classes", 3, 10, 3)
|
292 |
|
293 |
# Get defaults for selected domain, or empty list
|
294 |
defaults = default_labels_by_domain.get(domain, [])
|