ModelInfo
Last updated
Last updated
In this tutorial you will learn how to use ModelInfo
widget in Supervisely app.
session_id
int
Session
ID
team_id
int
Team
ID
widget_id
str
Id of the widget
Determines Session
ID for which model data will be displayed.
type: int
default value: None
Determines Team
ID for which model data will be displayed.
type: int
default value: None
ID of the widget.
type: str
default value: None
set_session_id(session_id: int)
Set given session_id
value in ModelInfo
.
You can find this example in our Github repository:
supervisely-ecosystem/ui-widgets-demos/status elements/007_model_info/src/main.py
session_id
we will useModelInfo
widget and set session_id
Prepare a layout for app using Card
widget with the content
parameter and place widget that we've just created in the Container
widget.
Create an app object with layout parameter.