import asyncio from reachy_mini.apps.sources.hf_space import DashboardAppList, app_info_from_space_url if __name__ == "__main__": async def main(): apps = list( await asyncio.gather( app_info_from_space_url( "https://huggingface.co/spaces/pollen-robotics/red_light_green_light" ), app_info_from_space_url( "https://huggingface.co/spaces/pollen-robotics/dance_dance_mini" ), ) ) dashboard_list = DashboardAppList(dashboard_selected_apps=apps) with open("dashboard-app-list.json", "w") as f: f.write(dashboard_list.model_dump_json()) print("Dashboard app list generated.") asyncio.run(main())