Download 6.15.1/paramviewer/Index.svelte from gradio/frontend: direct link, hf CLI and curl.
- Browser
- Download file 472 Bytes
-
https://huggingface.co/datasets/gradio/frontend/resolve/main/6.15.1/paramviewer/Index.svelte
- Command line
-
hf download hf://datasets/gradio/frontend/6.15.1/paramviewer/Index.svelte
-
curl -L -o Index.svelte https://huggingface.co/datasets/gradio/frontend/resolve/main/6.15.1/paramviewer/Index.svelte
472 Bytes
| <script lang="ts"> | |
| import type { ParamViewerProps, ParamViewerEvents } from "./types"; | |
| import { Gradio } from "@gradio/utils"; | |
| import ParamViewer from "./ParamViewer.svelte"; | |
| const props = $props(); | |
| const gradio = new Gradio<ParamViewerEvents, ParamViewerProps>(props); | |
| </script> | |
| <ParamViewer | |
| docs={gradio.props.value} | |
| linkify={gradio.props.linkify} | |
| header={gradio.props.header} | |
| anchor_links={gradio.props.anchor_links} | |
| max_height={gradio.props.max_height} | |
| /> | |