Skip to content

Commit

Permalink
fix(backend) incorrect toast message
Browse files Browse the repository at this point in the history
  • Loading branch information
alonh committed Aug 2, 2023
1 parent 7c1c3f0 commit bd75f1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion label_sleuth/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def raise_exception(a, b):
"a code snippet demonstrating how it can be used within a Python application"
],
"insufficient_train_data_toast_message": "Please use a query to label more positive elements",
"insufficient_train_data_toast_description": "The model did not train due to insufficient number of positive labels. Use the search panel at the top-right side to query the data and collect more positive labels manually. If issue persists, please reach out at #foundation-models-lm-utilization channel on Slack."
"insufficient_train_data_toast_description": "The model did not train due to insufficient number of positive labels. Use the search panel at the top-right side to query the data and collect more positive labels manually."
}
self.assertEqual(res.get_json(), correct_body)

Expand Down
2 changes: 1 addition & 1 deletion label_sleuth/ui_defaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
"a code snippet demonstrating how it can be used within a Python application"
],
"insufficient_train_data_toast_message": "Please use a query to label more positive elements",
"insufficient_train_data_toast_description": "The model did not train due to insufficient number of positive labels. Use the search panel at the top-right side to query the data and collect more positive labels manually. If issue persists, please reach out at #foundation-models-lm-utilization channel on Slack."
"insufficient_train_data_toast_description": "The model did not train due to insufficient number of positive labels. Use the search panel at the top-right side to query the data and collect more positive labels manually."
}

0 comments on commit bd75f1e

Please sign in to comment.