Example 1. Headless
config.json for headless app explained
Introduction
We will take Hello World app as an example of a simple headless app that can be launched from Ecosystem, it uses minimum properties.
supervisely-ecosystem/hello-world-app/config.json
{
"main_script": "src/main.py",
"headless": true,
"name": "Hello World!",
"description": "Demonstrates how to turn your python script into Supervisely App",
"categories": ["development"],
"icon": "https://user-images.githubusercontent.com/12828725/182186256-5ee663ad-25c7-4a62-9af1-fbfdca715b57.png",
"poster": "https://user-images.githubusercontent.com/12828725/182181033-d0d1a690-8388-472e-8862-e0cacbd4f082.png"
}
Properties
main_script
main_scriptRelative path to the main script of the application from the root of the project
headless
headlessSpecifies that app does not have GUI
name
nameName of the app in Supervisely
description
descriptionDescription of the app in Supervisely
categories
categoriesСategories under which the app will be displayed in Ecosystem
icon
iconLink to the app icon
poster
posterLink to the app poster
Last updated
Was this helpful?