From 72458901f0e149812bb58139719fe999f69fbd51 Mon Sep 17 00:00:00 2001 From: Adam McKellar Date: Tue, 15 Oct 2024 16:39:14 +0200 Subject: [PATCH] fix: pytorch example not rendering on web --- .../pytorch/pytorch-instruction.schema.yml.jinja | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/examples/pytorch/pytorch-instruction.schema.yml.jinja b/examples/pytorch/pytorch-instruction.schema.yml.jinja index 40ca3dc..54a01be 100644 --- a/examples/pytorch/pytorch-instruction.schema.yml.jinja +++ b/examples/pytorch/pytorch-instruction.schema.yml.jinja @@ -13,14 +13,13 @@ schema: - stable - preview default: stable - os: + __os__: title: Operating System description: The operating system you use. enum: - linux - - mac - - win - default: win + - macos + - windows package: title: Package Manager description: The package manager you use. @@ -39,7 +38,7 @@ schema: default: cu118 required: - build - - os + - __os__ - package - compute_platform additionalProperties: false @@ -48,8 +47,8 @@ pretty: stable: Stable (2.3.0) preview: Preview (Nightly) linux: Linux - mac: Mac - win: Windows + macos: Mac + windows: Windows conda: Conda pip: Pip cu118: CUDA 11.8 @@ -59,7 +58,7 @@ pretty: ------ -{# `command` is macro which simply removes line breaks. #} +{# command is macro which simply removes line breaks. #} {% call command() %} {# Adams spaghetti code #}