Scope tkinter and streamlit in Solutions tests (#14426)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
c67a3039c1
commit
e094f9c371
3 changed files with 21 additions and 19 deletions
|
|
@ -512,14 +512,14 @@ def handle_yolo_settings(args: List[str]) -> None:
|
|||
|
||||
def handle_explorer():
|
||||
"""Open the Ultralytics Explorer GUI for dataset exploration and analysis."""
|
||||
checks.check_requirements("streamlit")
|
||||
checks.check_requirements("streamlit>=1.29.0")
|
||||
LOGGER.info("💡 Loading Explorer dashboard...")
|
||||
subprocess.run(["streamlit", "run", ROOT / "data/explorer/gui/dash.py", "--server.maxMessageSize", "2048"])
|
||||
|
||||
|
||||
def handle_streamlit_inference():
|
||||
"""Open the Ultralytics Live Inference streamlit app for real time object detection."""
|
||||
checks.check_requirements(["streamlit", "opencv-python", "torch"])
|
||||
checks.check_requirements("streamlit>=1.29.0")
|
||||
LOGGER.info("💡 Loading Ultralytics Live Inference app...")
|
||||
subprocess.run(["streamlit", "run", ROOT / "solutions/streamlit_inference.py", "--server.headless", "true"])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue