Skip to content

Commit

Permalink
Update warning message for model connection in apply_to_project_event
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenAnpu committed Dec 21, 2024
1 parent d5567da commit fe00f26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ def apply_to_project_event(
if F_MODEL_DATA.get("session_id") is None or S_MODEL_DATA.get("session_id") is None:
sly.app.show_dialog(
"Warning",
f"Please run both models before applying them to the project",
f"Please connect to both models before applying them to the project",
status="warning",
)
sly.logger.warning("Please run both models before applying them to the project")
sly.logger.warning("Please connect to both models before applying them to the project")
return

def update_proj_meta_classes(
Expand Down

0 comments on commit fe00f26

Please sign in to comment.