PageSourceSearch

https://prs-eth-marigold-normals.hf.space/

html prs-eth-marigold-normals.hf.space collected 2026-10-03 17:14:30 UTC 98,199 bytes, 132 lines download raw bytes

1<!doctype html>
2<html
3	lang="en"
4	style="
5		margin: 0;
6		padding: 0;
7		min-height: 100%;
8		display: flex;
9		flex-direction: column;
10	"
11>
12	<head>
13		<meta charset="utf-8" />
14		<meta
15			name="viewport"
16			content="width=device-width, initial-scale=1, shrink-to-fit=no"
17		/>
18		<meta property="og:title" content="Gradio" />
19		<meta property="og:type" content="website" />
20		<meta property="og:url" content="{url}" />
21		<meta property="og:description" content="Click to try out the app!" />
22		<meta
23			property="og:image"
24			content="https://raw.githubusercontent.com/gradio-app/gradio/main/js/_website/src/lib/assets/img/header-image.jpg"
25		/>
26		<meta name="twitter:card" content="summary_large_image" />
27		<meta name="twitter:creator" content="@Gradio" />
28		<meta name="twitter:title" content="Gradio" />
29		<meta name="twitter:description" content="Click to try out the app!" />
30		<meta
31			name="twitter:image"
32			content="https://raw.githubusercontent.com/gradio-app/gradio/main/js/_website/src/lib/assets/img/header-image.jpg"
33		/>
34
35		<style>
36			:root {
37				--bg: white;
38				--col:   #27272a;
39				--bg-dark: #0f0f11;
40				--col-dark: #f4f4f5;
41			}
42
43
44			body {
45				background: var(--bg);
46				color: var(--col);
47				font-family: Arial, Helvetica, sans-serif;
48			}
49
50			@media (prefers-color-scheme: dark) {
51				body {
52					background: var(--bg-dark);
53					color: var(--col-dark);
54				}
55			}
56		</style>
57
58		<meta property="og:url" content="https://gradio.app/" />
59		<meta property="og:type" content="website" />
60		<meta property="og:image" content="" />
61		<meta property="og:title" content="Marigold Surface Normals" />
62		<meta
63			property="og:description"
64			content=""
65		/>
66		<meta name="twitter:card" content="summary_large_image" />
67		<meta name="twitter:creator" content="@teamGradio" />
68		<meta name="twitter:title" content="Marigold Surface Normals" />
69		<meta
70			name="twitter:description"
71			content=""
72		/>
73		<meta name="twitter:image" content="" />
74
75		
75<script data-gradio-mode>
76			window.__gradio_mode__ = "app";
77			window.iFrameResizer = {
78				heightCalculationMethod: "taggedElement"
79			};
80			window.parent?.postMessage(
81				{ type: "SET_SCROLLING", enabled: false },
82				"*"
83			);
84		</script>
84
85
86		
86<script>window.gradio_config = {"version":"5.29.0","api_prefix":"/gradio_api","mode":"blocks","app_id":18323808409371375183,"dev_mode":false,"analytics_enabled":true,"components":[{"id":1,"type":"markdown","props":{"value":"\u003ch2\u003e\u003ca href=\"https://huggingface.co/spaces/prs-eth/marigold-normals\" style=\"color: black;\"\u003eMarigold Normals Estimation\u003c/a\u003e\u003c/h2\u003e","show_label":false,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"927e99ba5dda4bcd0dfe596d4d0cecdc2e0b41e7e95071a05f96ae3971390ed6","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":2,"type":"row","props":{"variant":"default","visible":true,"elem_classes":["remove-elements"],"equal_height":false,"show_progress":false,"name":"row"},"skip_api":true,"component_class_id":"724216f2707d8e99d1bf5993a957b41df582b9f858086784b9e93dca5b08e3ce","key":null},{"id":3,"type":"markdown","props":{"value":"\u003cp align=\"center\"\u003e\n\u003ca title=\"Website\" href=\"https://marigoldcomputervision.github.io/\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"display: inline-block;\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/%E2%99%A5%20Project%20-Website-blue\"\u003e\n\u003c/a\u003e\n\u003ca title=\"diffusers\" href=\"https://huggingface.co/docs/diffusers/using-diffusers/marigold_usage\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"display: inline-block;\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/%F0%9F%A7%A8%20Read_diffusers-Tutorial-yellow?labelColor=green\"\u003e\n\u003c/a\u003e\n\u003ca title=\"arXiv\" href=\"https://arxiv.org/abs/2505.09358\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"display: inline-block;\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/%F0%9F%93%84%20Read%20-Paper-AF3436\"\u003e\n\u003c/a\u003e\n\u003ca title=\"Github\" href=\"https://github.com/prs-eth/marigold\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"display: inline-block;\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/prs-eth/marigold?label=GitHub%20%E2%98%85\u0026logo=github\u0026color=C8C\" alt=\"badge-github-stars\"\u003e\n\u003c/a\u003e\n\u003ca title=\"Image Depth\" href=\"https://huggingface.co/spaces/prs-eth/marigold\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"display: inline-block;\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/%F0%9F%A4%97%20Image%20Depth%20-Demo-yellow\" alt=\"imagedepth\"\u003e\n\u003c/a\u003e\n\u003ca title=\"Image Intrinsics\" href=\"https://huggingface.co/spaces/prs-eth/marigold-iid\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"display: inline-block;\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/%F0%9F%A4%97%20Image%20Intrinsics%20-Demo-yellow\" alt=\"imagedepth\"\u003e\n\u003c/a\u003e\n\u003ca title=\"Social\" href=\"https://twitter.com/antonobukhov1\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"display: inline-block;\"\u003e\n    \u003cimg src=\"https://shields.io/twitter/follow/:?label=Subscribe%20for%20updates!\" alt=\"social\"\u003e\n\u003c/a\u003e\n\u003c/p\u003e                    \n\u003cp align=\"center\" style=\"margin-top: 0px;\"\u003e\n    Upload a photo or select an example below to compute surface normals in real time.\n    Use the slider to reveal areas of interest.\n    Use the radio-buttons to switch between modalities.\n    Check our other demo badges above for new functionality.\n\u003c/p\u003e","show_label":false,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"927e99ba5dda4bcd0dfe596d4d0cecdc2e0b41e7e95071a05f96ae3971390ed6","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":4,"type":"gallery","props":{"value":[],"format":"webp","show_label":true,"container":true,"min_width":160,"visible":false,"elem_classes":[],"columns":2,"allow_preview":true,"show_share_button":true,"show_download_button":true,"type":"filepath","show_fullscreen_button":true,"name":"gallery","_selectable":false},"skip_api":false,"component_class_id":"36dfae8fa74a7e971f5f2b3d9cefabdb7753e2d37cda7e9a11a46d00515246ff","key":null,"api_info":{"$defs":{"FileData":{"description":"The FileData class is a subclass of the GradioModel class that represents a file object within a Gradio interface. It is used to store file data and metadata when a file is uploaded.\n\nAttributes:\n    path: The server file path where the file is stored.\n    url: The normalized server URL pointing to the file.\n    size: The size of the file in bytes.\
86n    orig_name: The original filename before upload.\n    mime_type: The MIME type of the file.\n    is_stream: Indicates whether the file is a stream.\n    meta: Additional metadata used internally (should not be changed).","properties":{"path":{"title":"Path","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Mime Type"},"is_stream":{"default":false,"title":"Is Stream","type":"boolean"},"meta":{"$ref":"#/$defs/FileDataMeta"}},"required":["path"],"title":"FileData","type":"object"},"FileDataMeta":{"properties":{"_type":{"const":"gradio.FileData","title":"Type","type":"string"}},"required":["_type"],"title":"FileDataMeta","type":"object"},"GalleryImage":{"properties":{"image":{"$ref":"#/$defs/ImageData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["image"],"title":"GalleryImage","type":"object"},"GalleryVideo":{"properties":{"video":{"$ref":"#/$defs/FileData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["video"],"title":"GalleryVideo","type":"object"},"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"items":{"anyOf":[{"$ref":"#/$defs/GalleryImage"},{"$ref":"#/$defs/GalleryVideo"}]},"title":"GalleryData","type":"array","additional_description":null},"api_info_as_input":{"$defs":{"FileData":{"description":"The FileData class is a subclass of the GradioModel class that represents a file object within a Gradio interface. It is used to store file data and metadata when a file is uploaded.\n\nAttributes:\n    path: The server file path where the file is stored.\n    url: The normalized server URL pointing to the file.\n    size: The size of the file in bytes.\n    orig_name: The original filename before upload.\n    mime_type: The MIME type of the file.\n    is_stream: Indicates whether the file is a stream.\n    meta: Additional metadata used internally (should not be changed).","properties":{"path":{"title":"Path","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Mime Type"},"is_stream":{"default":false,"title":"Is Stream","type":"boolean"},"meta":{"$ref":"#/$defs/FileDataMeta"}},"required":["path"],"title":"FileData","type":"object"},"FileDataMeta":{"properties":{"_type":{"const":"gradio.FileData","title":"Type","type":"string"}},"required":["_type"],"title":"FileDataMeta","type":"object"},"GalleryImage":{"properties":{"image":{"$ref":"#/$defs/ImageData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["image"],"title":"GalleryImage","type":"object"},"GalleryVideo":{"properties":{"video":{"$ref":"#/$defs/FileData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["video"],"title":"GalleryVideo","type":"object"},"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","t
86itle":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"items":{"anyOf":[{"$ref":"#/$defs/GalleryImage"},{"$ref":"#/$defs/GalleryVideo"}]},"title":"GalleryData","type":"array","additional_description":null},"api_info_as_output":{"$defs":{"FileData":{"description":"The FileData class is a subclass of the GradioModel class that represents a file object within a Gradio interface. It is used to store file data and metadata when a file is uploaded.\n\nAttributes:\n    path: The server file path where the file is stored.\n    url: The normalized server URL pointing to the file.\n    size: The size of the file in bytes.\n    orig_name: The original filename before upload.\n    mime_type: The MIME type of the file.\n    is_stream: Indicates whether the file is a stream.\n    meta: Additional metadata used internally (should not be changed).","properties":{"path":{"title":"Path","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Mime Type"},"is_stream":{"default":false,"title":"Is Stream","type":"boolean"},"meta":{"$ref":"#/$defs/FileDataMeta"}},"required":["path"],"title":"FileData","type":"object"},"FileDataMeta":{"properties":{"_type":{"const":"gradio.FileData","title":"Type","type":"string"}},"required":["_type"],"title":"FileDataMeta","type":"object"},"GalleryImage":{"properties":{"image":{"$ref":"#/$defs/ImageData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["image"],"title":"GalleryImage","type":"object"},"GalleryVideo":{"properties":{"video":{"$ref":"#/$defs/FileData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["video"],"title":"GalleryVideo","type":"object"},"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"items":{"anyOf":[{"$ref":"#/$defs/GalleryImage"},{"$ref":"#/$defs/GalleryVideo"}]},"title":"GalleryData","type":"array","additional_description":null},"example_inputs":[{"image":{"path":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png","meta":{"_type":"gradio.FileData"},"orig_name":"bus.png","url":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"}}]},{"id":5,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"filepath","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":false,"streaming":false,"elem_classes":[],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"74b6c45fc419f7d44ad8f6d6ef406b7585ea6451e03b9ed3c5a6b0e6007a57d4","key":null,"api_info":{"properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","t
86itle":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object","additional_description":"For input, either path or url must be provided. For output, path is always provided."},"api_info_as_input":{"properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object","additional_description":"For input, either path or url must be provided. For output, path is always provided."},"api_info_as_output":{"properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object","additional_description":"For input, either path or url must be provided. For output, path is always provided."},"example_inputs":{"path":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png","meta":{"_type":"gradio.FileData"},"orig_name":"bus.png","url":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"}},{"id":6,"type":"row","props":{"variant":"default","visible":true,"elem_classes":["sliderrow"],"equal_height":false,"show_progress":false,"name":"row"},"skip_api":true,"component_class_id":"724216f2707d8e99d1bf5993a957b41df582b9f858086784b9e93dca5b08e3ce","key":null},{"id":7,"type":"imageslider","props":{"streamable":false,"format":"webp","image_mode":"RGB","type":"filepath","label":"Marigold Surface Normals","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"elem_classes":["slider"],"show_fullscreen_button":true,"slider_position":50,"max_height":500,"name":"imageslider","_selectable":false},"skip_api":false,"component_class_id":"54bfb5c21670a1eb72b7fd44135513375995b96b485c2685c22b8e27fe5b8ab0","key":null,"api_info":{"$defs":{"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","t
86itle":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"anyOf":[{"maxItems":2,"minItems":2,"prefixItems":[{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]},{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]}],"type":"array"},{"type":"null"}],"title":"SliderData","additional_description":null},"api_info_as_input":{"$defs":{"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"anyOf":[{"maxItems":2,"minItems":2,"prefixItems":[{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]},{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]}],"type":"array"},{"type":"null"}],"title":"SliderData","additional_description":null},"api_info_as_output":{"$defs":{"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"anyOf":[{"maxItems":2,"minItems":2,"prefixItems":[{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]},{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]}],"type":"array"},{"type":"null"}],"title":"SliderData","additional_description":null},"example_inputs":[{"path":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png","meta":{"_type":"gradio.FileData"},"orig_name":"bus.png","url":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"},{"path":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png","meta":{"_type":"gradio.FileData"},"orig_name":"bus.png","url":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"}]},{"id":8,"type":"row","props":{"variant":"default","visible":true,"elem_classes":["row_reverse"],"equal_height":false,"show_progress":false,"name":"row"},"skip_api":true,"component_class_id":"724216f2707d8e99d1bf5993a957b41df582b9f858086784b9e93dca5b08e3ce","key":null},{"id":9,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"name":"column"},"skip_api":true,"component_class_id":"2936b1d11eae2288921900031596f1dda70bc86ea3912baac685b76d520ed450","key":null},{"id":11,"type":"radio","props":{"choices":[],"type":"value","label":"Right","show_label":false,"container":false,"min_width":160,"visible":true,"elem_id":"selector_right","elem_classes":[],"key":"Right","rtl":false,"name":"radio","_selectable":false},"skip_api":false,"component_class_id":"527e85c91ed3dc7ff67135db9f66a2302059ae28e74af02559e9d56695c1f1f9","key":"Right","api_info":{"enum":[],"title":"Radio","type":"string"},"api_info_as_input":{"enum":[],"title":"Radio","type":"string"},"api_info_as_output":{"enum":[],"title":"Radio","type":"string"},"example_inputs":null},{"id":10,"type":"radio","props":{"choices":[],"type":"value","label":"Left","show_label":false,"container":false,"min_width":160,"visible":false,"elem_classes":[],"key":"Left","rtl":false,"name":"radio","_selectable":false},"skip_api":false,"component_class_id":"527e85c91ed3dc7ff67135db9f66a2302059ae28e74af02559e9d56695c1f1f9","key":"Left","api_info":{"enum":[],"title":"Radio","type":"string"},"api_info_as_input":{"enum":[],"title":"Radio","type":"string"},"api_info_as_output":{"enum":[],"title":"Radio","type":"string"},"example_inputs":null},{"id":12,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"name":"column"},"skip_api":true,"component_class_id":"2936b1d11eae2288921900031596f1dda70bc86ea3912baac685b76d520ed450","key":null},{"id":13,"type":"accordion","props":{"label":"Advanced Settings","open":false,"visible":true,"name":"accordion"},"skip_api":true,"component_class_id":"f7ca9b901f75c307c1f5ddd33f789d906d98b7f72e2885efbfaa76243b6822af","key":null},{"id":14,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"name":"column"},"skip_api":true,"component_class_id":"2936b1d11eae2288921900031596f1dda70bc86ea3912baac685b76d520ed450","key":null},{"id":15,"type":"slider","props":{"minimum":1,"maximum":10,"value":1,"step":1,"label":"Ensemble size","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"show_reset_button":true,"name":"slider","_selectable":false},"skip_api":false,"component_class_id":"0ac3736b4129faf84640f0058a8d346f4329c60284cd45c39454e44098df1b16","key":null,"api_info":{"type":"number","description":"numeric value between 1 and 10"},"api_info_as_input":{"type":"number","description":"numeric value between 1 and 10"},"api_info_as_output":{"type":"number","description":"numeric value between 1 and 10"},"example_inputs":1},{"id":16,"type":"slider","props":{"minimum":1,"maximum":20,"value":4,"step":1,"label":"Number of denoising steps","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"show_reset_button":true,"name":"slider","_selectable":false},"skip_api":false,"component_class_id":"0ac3736b4129faf84640f0058a8d346f4329c60284cd45c39454e44098df1b16","key":null,"api_info":{"type":"number","description":"numeric value between 1 and 20"},"api_info_as_input":{"type":"number","description":"numeric value between 1 and 20"},"api_info_as_output":{"type":"number","description":"numeric value between 1 and 20"},"example_inputs":1},{"id":17,"type":"radio","props":{"choices":[["Native",0],["Recommended",768]],"value":768,"type":"value","label":"Processing resolution","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"rtl":false,"name":"radio","_selectable":false},"skip_api":false,"component_class_id":"4bae69bfe39df240a64f93e2bc0928f7b57964dc468a947953f7086756ba0425","key":null,"api_info":{"enum":[0,768],"title":"Radio","type":"string"},"api_info_as_input":{"enum":[0,768],"title":"Radio","type":"string"},"api_info_as_output":{"enum":[0,768],"title":"Radio","type":"string"},"example_inputs":0},{"id":18,"type":"form","props":{"scale":0,"min_width":0,"name":"form"},"skip_api":true,"component_class_id":"ed5cd51f569f3a7624b1709c4e7e50a5a608037f5fb82307671a5cec77e36b71","key":null},{"id":19,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"name":"row"},"skip_api":true,"component_class_id":"724216f2707d8e99d1bf5993a957b41df582b9f858086784b9e93dca5b08e3ce","key":null},{"id":20,"type":"button","props":{"value":"Clear","variant":"secondary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"51bd485a5354bcd93c72c66428b42770f71e60d8f9bb8345f6ce8a6787cd1c8f","key":null},{"id":21,"type":"button","props":{"value":"Apply","variant":"primary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"51bd485a5354bcd93c72c66428b42770f71e60d8f9bb8345f6ce8a6787cd1c8f","key":null},{"id":22,"type":"dataset","props":{"label":"Examples","show_label":true,"component_props":[{"format":"webp","height":null,"width":null,"image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"filepath","label":null,"show_label":true,"show_download_button":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":false,"streaming":false,"elem_id":null,"elem_classes":[],"key":null,"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"placeholder":null,"show_fullscreen_button":true}],"samples":[[{"path":"/tmp/gradio/2bb4a5aa730903c4ccdafea566ca0c167526c298f6970af
861035886b443edd5a4/tmpmv9jhspd.webp","url":"https://prs-eth-marigold-normals.hf.space/gradio_api/file=/tmp/gradio/2bb4a5aa730903c4ccdafea566ca0c167526c298f6970af1035886b443edd5a4/tmpmv9jhspd.webp","size":null,"orig_name":"tmpmv9jhspd.webp","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}],[{"path":"/tmp/gradio/333e315160db9b59885177027b5962963bc86776504e95c20ac6d2fdbbfb7bee/tmpgdr4hh7y.webp","url":"https://prs-eth-marigold-normals.hf.space/gradio_api/file=/tmp/gradio/333e315160db9b59885177027b5962963bc86776504e95c20ac6d2fdbbfb7bee/tmpgdr4hh7y.webp","size":null,"orig_name":"tmpgdr4hh7y.webp","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}],[{"path":"/tmp/gradio/71ca4b772e8275546a24ea50f16cdaa03a3aeadef46c093b8274e47b1c0d905e/tmp8usju5iq.webp","url":"https://prs-eth-marigold-normals.hf.space/gradio_api/file=/tmp/gradio/71ca4b772e8275546a24ea50f16cdaa03a3aeadef46c093b8274e47b1c0d905e/tmp8usju5iq.webp","size":null,"orig_name":"tmp8usju5iq.webp","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}],[{"path":"/tmp/gradio/8147497fd76ac829ce06129409393eb9fbf3c1d2d2916776bfe78912d88e755a/tmpaelj9al2.webp","url":"https://prs-eth-marigold-normals.hf.space/gradio_api/file=/tmp/gradio/8147497fd76ac829ce06129409393eb9fbf3c1d2d2916776bfe78912d88e755a/tmpaelj9al2.webp","size":null,"orig_name":"tmpaelj9al2.webp","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}],[{"path":"/tmp/gradio/70082fe64960670ba5bac68b0bafbd8ec91d3e30c9539fe444ea54155a6dec5f/tmpgajmbnbk.webp","url":"https://prs-eth-marigold-normals.hf.space/gradio_api/file=/tmp/gradio/70082fe64960670ba5bac68b0bafbd8ec91d3e30c9539fe444ea54155a6dec5f/tmpgajmbnbk.webp","size":null,"orig_name":"tmpgajmbnbk.webp","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}],[{"path":"/tmp/gradio/42333b9a11c71c3eea5f71e9f3ecb332571f43f58f6e9e67d87eca5fc866eaf5/tmpnjpkc87v.webp","url":"https://prs-eth-marigold-normals.hf.space/gradio_api/file=/tmp/gradio/42333b9a11c71c3eea5f71e9f3ecb332571f43f58f6e9e67d87eca5fc866eaf5/tmpnjpkc87v.webp","size":null,"orig_name":"tmpnjpkc87v.webp","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}],[{"path":"/tmp/gradio/e242d306a30ef95b958da4d5c9cefdbd96eda5ea694055446b8d8e89ad0cac74/tmprd08e8t9.webp","url":"https://prs-eth-marigold-normals.hf.space/gradio_api/file=/tmp/gradio/e242d306a30ef95b958da4d5c9cefdbd96eda5ea694055446b8d8e89ad0cac74/tmprd08e8t9.webp","size":null,"orig_name":"tmprd08e8t9.webp","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}],[{"path":"/tmp/gradio/d3784efbc6118490868dc273e3c33d35ea0f633ca693dcf4c2610d9f9fc5a478/tmp0broxivx.webp","url":"https://prs-eth-marigold-normals.hf.space/gradio_api/file=/tmp/gradio/d3784efbc6118490868dc273e3c33d35ea0f633ca693dcf4c2610d9f9fc5a478/tmp0broxivx.webp","size":null,"orig_name":"tmp0broxivx.webp","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}],[{"path":"/tmp/gradio/8e14e2af57a21cfa3e8de7fd3bb86d168c6d08bb789dc7c52e5f3ada19931ef3/tmpxoo1ge37.webp","url":"https://prs-eth-marigold-normals.hf.space/gradio_api/file=/tmp/gradio/8e14e2af57a21cfa3e8de7fd3bb86d168c6d08bb789dc7c52e5f3ada19931ef3/tmpxoo1ge37.webp","size":null,"orig_name":"tmpxoo1ge37.webp","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}],[{"path":"/tmp/gradio/2029026a1d7869d0caedb1dc8e1b2d40012cf3859f8f98253e5255f44fccaa48/tmpa0ec8s46.webp","url":"https://prs-eth-marigold-normals.hf.space/gradio_api/file=/tmp/gradio/2029026a1d7869d0caedb1dc8e1b2d40012cf3859f8f98253e5255f44fccaa48/tmpa0ec8s46.webp","size":null,"orig_name":"tmpa0ec8s46.webp","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}],[{"path":"/tmp/gradio/fa72ef98a7865dd0dad67cfd754fdc759d0e6e0583b662e86c36ffd4276bae18/tmp_rzlzwf6.webp","url":"https://prs-eth-marigold-normals.hf.space/gradio_api/file=/tmp/gradio/fa72ef98a7865dd0dad67cfd754fdc759d0e6e0583b662e86c36ffd4276bae18/tmp_rzlzwf6.webp","size":null,"orig_name":"tmp_rzlzwf6.webp","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}],[{"path":"/tmp/gradio/fd5277b4b4a2c3ff9331fb7fc5f7084d08d129f878411e3ec708074094585cab/tmpelmzunro.webp","url":"https://prs-eth-marigold-normals.hf.space/gradio_api/file=/tmp/gradio/fd5277b4b4a2c3ff9331fb7fc5f7084d08d129f878411e3ec708074094585cab/tmpelmzunro.webp","size":null,"orig_name":"tmpelmzunro.webp","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}],[{"path":"/tmp/gradio/b42b93d6356309e29e13ad289f580b206d639e7105e5f9ea6aaeb25f3671762a/tmp8pvl6wwo.webp","url":"https://prs-eth-marigold-normals.hf.space/gradio_api/file=/tmp/gradio/b42b93d6356309e29e13ad289f580b206d639e7105e5f9ea6aaeb25f3671762a/tmp8pvl6wwo.webp","size":null,"orig_name":"tmp8pvl6wwo.webp","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}],[{"path":"/tmp/gradio/7dad79492f1694846ece9ce9589fcc59d63e5fd001c29d6c4a49f1d547d3e6d3/tmpq4xkq4b3.webp","url":"https://prs-eth-marigold-normals.hf.space/gradio_api/file=/tmp/gradio/7dad79492f1694846ece9ce9589fcc59d63e5fd001c29d6c4a49f1d547d3e6d3/tmpq4xkq4b3.webp","size":null,"orig_name":"tmpq4xkq4b3.webp","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}],[{"path":"/tmp/gradio/b96b08aa4e0cdab202e51dba88a43ef1149fce042676e7d661330e43c17bd07a/tmp5m6cw8nw.webp","url":"https://prs-eth-marigold-normals.hf.space/gradio_api/file=/tmp/gradio/b96b08aa4e0cdab202e51dba88a43ef1149fce042676e7d661330e43c17bd07a/tmp5m6cw8nw.webp","size":null,"orig_name":"tmp5m6cw8nw.webp","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}],[{"path":"/tmp/gradio/fb33191c23ddff59bdd3d0bd89aa7eca60dce55645129d2997ed16c68c04f988/tmp9phm5zvr.webp","url":"https://prs-eth-marigold-normals.hf.space/gradio_api/file=/tmp/gradio/fb33191c23ddff59bdd3d0bd89aa7eca60dce55645129d2997ed16c68c04f988/tmp9phm5zvr.webp","size":null,"orig_name":"tmp9phm5zvr.webp","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}],[{"path":"/tmp/gradio/8b89413161f7bf0593b56996b6bfefa2ce0b86b5128a87bb117365cdfdc1c866/tmpo12oejzc.webp","url":"https://prs-eth-marigold-normals.hf.space/gradio_api/file=/tmp/gradio/8b89413161f7bf0593b56996b6bfefa2ce0b86b5128a87bb117365cdfdc1c866/tmpo12oejzc.webp","size":null,"orig_name":"tmpo12oejzc.webp","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}],[{"path":"/tmp/gradio/0a8f1ae2845b444ec7edb6346b319f70513de44d8794f5a926715b55907ce885/tmpl_eqi70t.webp","url":"https://prs-eth-marigold-normals.hf.space/gradio_api/file=/tmp/gradio/0a8f1ae2845b444ec7edb6346b319f70513de44d8794f5a926715b55907ce885/tmpl_eqi70t.webp","size":null,"orig_name":"tmpl_eqi70t.webp","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}],[{"path":"/tmp/gradio/22b07f10980c1b06ec889143e66acbf4b2f33c5756aa8b0b4c3bc6bda8f02ba7/tmpbnaawa7g.webp","url":"https://prs-eth-marigold-normals.hf.space/gradio_api/file=/tmp/gradio/22b07f10980c1b06ec889143e66acbf4b2f33c5756aa8b0b4c3bc6bda8f02ba7/tmpbnaawa7g.webp","size":null,"orig_name":"tmpbnaawa7g.webp","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}]],"headers":[],"type":"tuple","samples_per_page":12,"visible":true,"elem_classes":[],"container":true,"min_width":160,"name":"dataset","_selectable":false,"components":["image"],"component_ids":[5]},"skip_api":false,"component_class_id":"59799070042857c5faf7de28fcb731985f98c9eb1bc03e0c2bc3eb38902a7aef","key":null,"api_info":{"type":"integer","description":"index of selected example"},"api_info_as_input":{"type":"integer","description":"index of selected example"},"api_info_as_output":{"type":"integer","description":"index of selected example"},"example_inputs":0}],"css":"\n            body {                      /* tighten the layout */\n                flex-grow: 0 !important;\n            }\n            .sliderrow {                /* center the slider */\n                display: flex;\n                justify-content: center;\n            }\n            .slider {                   /* center the slider */\n                display: flex;\n                justify-content: center;\n                width: 100%;\n            }\n            .slider .disabled {         /* hide the main slider before image load */\n                visibility: hidden;\n            }\n            .slider .svelte-1to105q {    /* hide the component label in the top-left corner before image load */\n                visibility: hidden;\n            }\n            .slider .svelte-kzcjhc .icon-wrap {\n                height: 0px;             /* remove unnecessary spaces in captions before image load */\n            }\n            .slider .svelte-12ioyct.wrap {\n                padding-top: 0px;        /* remove unnecessary spaces in captions before image load */\n            }\n            .slider .svelte-1oiin9d {    /* hide the dummy icon from the right pane before image load */\n                visibility: hidden;\n            }\n            .slider .svelte-106mu0e a { /* hide the download button */\n                visibility: hidden;\n            }\n            .slider .fixed {            /* fix the opacity of the right pane image */\n                background-color: var(--anim-block-background-fill);\n            }\n            .slider .inner {            /* style slider line */\n                width: 4px;\n                background: #FFF;\n            }\n            .slider .icon-wrap {    /* style slider arrows */\n                background-color: #FFF;\n            }\n            .row_reverse {\n                flex-direction: row-reverse;\n            }\n            .gallery.svelte-a9zvka {        /* make examples gallery tiles square */\n                min-width: max(96px, calc(100vw / 8));\n                min-height: max(96px, calc(100vw / 8));\n                width: max(96px, calc(100vw / 8));\n                height: max(96px, calc(100vw / 8));\n            }\n            .gallery.svelte-p5q82i img {    /* make examples gallery tiles square */\n                min-width: max(96px, calc(100vw / 8));\n                min-height: max(96px, calc(100vw / 8));\n                width: max(96px, calc(100vw / 8));\n                height: max(96px, calc(100vw / 8));\n            }\n            h1, h2, h3 {                    /* center markdown headings */\n                text-align: center;\n                display: block;\n            }\n        \n                .slider {               /* make the slider dimensions fit to the uploaded content dimensions */\n                    max-width: fit-content;\n                }\n                .slider .half-wrap {    /* make the empty component width almost full before image load */\n                    width: 70vw;\n                }\n                .slider img {           /* Ensures image fits inside the viewport */\n                    max-height: 75vh;\n                }\n            ","connect_heartbeat":false,"js":"","head":"\n            \u003cscript\u003e\n                window.addEventListener(\"message\", (event) =\u003e {\n                    if (event.data?.type === \"remove-elements\") {\n                        const removeTargets = () =\u003e {\n                            const targets = document.querySelectorAll(\".remove-elements\");
86\n                            targets.forEach(el =\u003e el.remove());\n                        };\n                        \n                        removeTargets();                    \n                        const observer = new MutationObserver(() =\u003e {\n                            removeTargets();\n                        });\n                        observer.observe(document.body, { childList: true, subtree: true });\n    \n                        event.source?.postMessage({ type: \"ack-remove-elements\", source: \"gradio-app\" }, event.origin);\n                        console.log(\"Processed event remove-elements\");\n                    }\n                });\n            \u003c/script\u003e\n            \u003cscript\u003e\n                let observerFooterButtons = new MutationObserver((mutationsList, observer) =\u003e {\n                    const origButtonShowAPI = document.querySelector(\".show-api\");\n                    const origButtonBuiltWith = document.querySelector(\".built-with\");\n                    const origButtonSettings = document.querySelector(\".settings\");\n                    const origSeparatorDiv = document.querySelector(\".divider\");\n                    if (!origButtonBuiltWith || !origButtonShowAPI || !origButtonSettings || !origSeparatorDiv) {\n                        return;\n                    }\n                    observer.disconnect();\n\n                    const parentDiv = origButtonShowAPI.parentNode;\n                    if (!parentDiv) return;\n\n                    const createButton = (referenceButton, text, href) =\u003e {\n                        let newButton = referenceButton.cloneNode(true);\n                        newButton.href = href;\n                        newButton.textContent = text;\n                        newButton.className = referenceButton.className;\n                        newButton.style.textDecoration = \"none\";\n                        newButton.style.display = \"inline-block\";\n                        newButton.style.cursor = \"pointer\";\n                        return newButton;\n                    };\n\n                    document.querySelectorAll(\".divider\").forEach(divider =\u003e {\n                        divider.style.marginLeft = \"var(--size-2)\";\n                        divider.style.marginRight = \"var(--size-2)\";\n                    });\n                    \n                    const newButtonBuiltWith = createButton(origButtonBuiltWith, \"Built with Gradio DualVision v5.29.0\", \"https://github.com/toshas/gradio-dualvision\");\n                    const newButtonTemplateBy = createButton(origButtonBuiltWith, \"Template by Anton Obukhov\", \"https://www.obukhov.ai\");\n                    const newButtonLicensed = createButton(origButtonBuiltWith, \"Licensed under CC BY-SA 4.0\", \"http://creativecommons.org/licenses/by-sa/4.0/\");\n\n                    parentDiv.replaceChild(newButtonBuiltWith, origButtonShowAPI);\n                    parentDiv.replaceChild(newButtonTemplateBy, origButtonBuiltWith);\n                    parentDiv.replaceChild(newButtonLicensed, origButtonSettings);\n                });\n                observerFooterButtons.observe(document.body, { childList: true, subtree: true });\n            \u003c/script\u003e\n        \n                \u003cscript async src=\"https://www.googletagmanager.com/gtag/js?id=G-1FWSVCGZTG\"\u003e\u003c/script\u003e\n                \u003cscript\u003e\n                    window.dataLayer = window.dataLayer || [];\n                    function gtag() {dataLayer.push(arguments);}\n                    gtag(\u0027js\u0027, new Date());\n                    gtag(\u0027config\u0027, \u0027G-1FWSVCGZTG\u0027);\n                \u003c/script\u003e\n            ","title":"Marigold Surface Normals","space_id":"prs-eth/marigold-normals","enable_queue":true,"show_error":false,"show_api":true,"is_colab":false,"max_file_size":null,"stylesheets":["https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600\u0026display=swap"],"theme":"default","protocol":"sse_v3","body_css":{"body_background_fill":"white","body_text_color":"#27272a","body_background_fill_dark":"#0f0f11","body_text_color_dark":"#f4f4f5"},"fill_height":false,"fill_width":false,"theme_hash":"63194d3741d384f9f85db890247b6c0ef9e7abac0f297f40a15c59fe4baba916","pwa":true,"pages":[["","Home"]],"page":{""
86:{"layout":{"id":0,"children":[{"id":1},{"id":2,"children":[{"id":3}]},{"id":4},{"id":5},{"id":6,"children":[{"id":7}]},{"id":8,"children":[{"id":9,"children":[{"id":11},{"id":10}]},{"id":12,"children":[{"id":13,"children":[{"id":14,"children":[{"id":18,"children":[{"id":15},{"id":16},{"id":17}]}]},{"id":19,"children":[{"id":20},{"id":21}]}]}]}]},{"id":22}]},"components":[1,2,3,4,5,6,7,8,9,11,10,12,13,14,15,16,17,18,19,20,21,22],"dependencies":[0,1,2,3,4,5,6]}},"dependencies":[{"id":0,"targets":[[22,"click"]],"inputs":[22],"outputs":[5],"backend_fn":true,"js":null,"queue":false,"api_name":"load_example_input","scroll_to_output":false,"show_progress":"hidden","show_progress_on":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":false,"cancel":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":false,"rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"like_user_message":false,"event_specific_args":null,"js_implementation":null},{"id":1,"targets":[[null,"then"]],"inputs":[22],"outputs":[4,7,10,11,15,16,17],"backend_fn":true,"js":null,"queue":true,"api_name":"load_example","scroll_to_output":false,"show_progress":"full","show_progress_on":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":false,"cancel":false},"collects_event_data":false,"trigger_after":0,"trigger_only_on_success":false,"trigger_mode":"once","show_api":false,"rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"like_user_message":false,"event_specific_args":null,"js_implementation":null},{"id":2,"targets":[[7,"upload"]],"inputs":[7,10,11,15,16,17],"outputs":[4,7,10,11,15,16,17],"backend_fn":true,"js":null,"queue":true,"api_name":"on_process_first","scroll_to_output":false,"show_progress":"full","show_progress_on":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":false,"cancel":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true,"rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"like_user_message":false,"event_specific_args":null,"js_implementation":null},{"id":3,"targets":[[21,"click"]],"inputs":[4,10,11,15,16,17],"outputs":[4,7,10,11,15,16,17],"backend_fn":true,"js":null,"queue":true,"api_name":"on_process_subsequent","scroll_to_output":false,"show_progress":"full","show_progress_on":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":false,"cancel":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true,"rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"like_user_message":false,"event_specific_args":null,"js_implementation":null},{"id":4,"targets":[[20,"click"]],"inputs":[],"outputs":[7,4],"backend_fn":true,"js":null,"queue":true,"api_name":"lambda","scroll_to_output":false,"show_progress":"full","show_progress_on":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":false,"cancel":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true,"rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"like_user_message":false,"event_specific_args":null,"js_implementation":null},{"id":5,"targets":[[10,"input"]],"inputs":[4,7,10],"outputs":[7],"backend_fn":true,"js":null,"queue":true,"api_name":"on_selector_change_left","scroll_to_output":false,"show_progress":"full","show_progress_on":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":false,"cancel":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true,"rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"like_user_message":false,"event_specific_args":null,"js_implementation":null},{"id":6,"targets":[[11,"input"]],"inputs":[4,7,11],"outputs":[7],"backend_fn":true,"js":null,"queue":true,"api_name":"on_selector_change_right","scroll_to_output":false,"show_progress":"full","show_progress_on":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":false,"cancel":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true,"rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"like_user_message":false,"event_specific_args":null,"js_implementation":null}],"layout":{"id":0,"children":[{"id":1},{"id":2,"children":[{"id":3}]},{"id":4},{"id":5},{"id":6,"children":[{"id":7}]},{"id":8,"children":[{"id":9,"children":[{"id":11},{"id":10}]},{"id":12,"children":[{"id":13,"children":[{"id":14,"children":[{"id":18,"children":[{"id":15},{"id":16},{"id":17}]}]},{"id":19,"children":[{"id":20},{"id":21}]}]}]}]},{"id":22}]},"root":"https://prs-eth-marigold-normals.hf.space","username":null,"deep_link_state":"none","current_page":""};</script>
86<script>window.gradio_api_info = {"named_endpoints":{"/on_process_first":{"parameters":[{"label":"Marigold Surface Normals","parameter_name":"image_slider","parameter_has_default":false,"parameter_default":null,"type":{"$defs":{"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"anyOf":[{"maxItems":2,"minItems":2,"prefixItems":[{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]},{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]}],"type":"array"},{"type":"null"}],"title":"SliderData","additional_description":null},"python_type":{"type":"tuple[dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream: bool (Can always be set to False), meta: dict(str, Any)) | None, dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream: bool (Can always be set to False), meta: dict(str, Any)) | None] | None","description":null},"component":"Imageslider","example_input":[{"path":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png","meta":{"_type":"gradio.FileData"},"orig_name":"bus.png","url":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"},{"path":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png","meta":{"_type":"gradio.FileData"},"orig_name":"bus.png","url":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"}]},{"label":"Left","parameter_name":"modality_selector_left","parameter_has_default":true,"parameter_default":null,"type":{"enum":[],"title":"Radio","type":"string"},"python_type":{"type":"Literal[]","description":""},"component":"Radio","example_input":null},{"label":"Right","parameter_name":"modality_selector_right","parameter_has_default":true,"parameter_default":null,"type":{"enum":[],"title":"Radio","type":"string"},"python_type":{"type":"Literal[]","description":""},"component":"Radio","example_input":null},{"label":"Ensemble size","parameter_name":"param_3","parameter_has_default":true,"parameter_default":1,"type":{"type":"number","description":"numeric value between 1 and 10"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":1},{"label":"Number of denoising steps","parameter_name":"param_4","parameter_has_default":true,"parameter_default":4,"type":{"type":"number","description":"numeric value between 1 and 20"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":1},{"label":"Processing resolution","parameter_name":"param_5","parameter_has_default":true,"parameter_default":768,"type":{"enum":[0,768],"title":"Radio","type":"string"},"python_type":{"type":"Literal[\u00270\u0027, \u0027768\u0027]","description":""},"component":"Radio","example_input":0}],"returns":[{"label":"value_4","type":{"$defs":{"FileData":{"description":"The FileData class is a subclass of the GradioModel class that represents a file object within a Gradio interface. It is used to store file data and metadata when a file is uploaded.\n\nAttributes:\n    path: The server file path where the file is stored.\n    url: The normalized server URL pointing to the file.\n    size: The size of the file in bytes.\
86n    orig_name: The original filename before upload.\n    mime_type: The MIME type of the file.\n    is_stream: Indicates whether the file is a stream.\n    meta: Additional metadata used internally (should not be changed).","properties":{"path":{"title":"Path","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Mime Type"},"is_stream":{"default":false,"title":"Is Stream","type":"boolean"},"meta":{"$ref":"#/$defs/FileDataMeta"}},"required":["path"],"title":"FileData","type":"object"},"FileDataMeta":{"properties":{"_type":{"const":"gradio.FileData","title":"Type","type":"string"}},"required":["_type"],"title":"FileDataMeta","type":"object"},"GalleryImage":{"properties":{"image":{"$ref":"#/$defs/ImageData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["image"],"title":"GalleryImage","type":"object"},"GalleryVideo":{"properties":{"video":{"$ref":"#/$defs/FileData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["video"],"title":"GalleryVideo","type":"object"},"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"items":{"anyOf":[{"$ref":"#/$defs/GalleryImage"},{"$ref":"#/$defs/GalleryVideo"}]},"title":"GalleryData","type":"array","additional_description":null},"python_type":{"type":"list[dict(image: dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream: bool (Can always be set to False), meta: dict(str, Any)), caption: str | None) | dict(video: filepath, caption: str | None)]","description":""},"component":"Gallery"},{"label":"Marigold Surface Normals","type":{"$defs":{"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"anyOf":[{"maxItems":2,"minItems":2,"prefixItems":[{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]},{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]}],"type":"array"},{"type":"null"}],"title":"SliderData","additional_description":null},"python_type":{"type":"tuple[dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream
86: bool (Can always be set to False), meta: dict(str, Any)) | None, dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream: bool (Can always be set to False), meta: dict(str, Any)) | None] | None","description":""},"component":"Imageslider"},{"label":"Left","type":{"enum":[],"title":"Radio","type":"string"},"python_type":{"type":"Literal[]","description":""},"component":"Radio"},{"label":"Right","type":{"enum":[],"title":"Radio","type":"string"},"python_type":{"type":"Literal[]","description":""},"component":"Radio"},{"label":"Ensemble size","type":{"type":"number","description":"numeric value between 1 and 10"},"python_type":{"type":"float","description":"numeric value between 1 and 10"},"component":"Slider"},{"label":"Number of denoising steps","type":{"type":"number","description":"numeric value between 1 and 20"},"python_type":{"type":"float","description":"numeric value between 1 and 20"},"component":"Slider"},{"label":"Processing resolution","type":{"enum":[0,768],"title":"Radio","type":"string"},"python_type":{"type":"Literal[\u00270\u0027, \u0027768\u0027]","description":""},"component":"Radio"}],"show_api":true},"/on_process_subsequent":{"parameters":[{"label":"parameter_4","parameter_name":"results_state","parameter_has_default":true,"parameter_default":[],"type":{"$defs":{"FileData":{"description":"The FileData class is a subclass of the GradioModel class that represents a file object within a Gradio interface. It is used to store file data and metadata when a file is uploaded.\n\nAttributes:\n    path: The server file path where the file is stored.\n    url: The normalized server URL pointing to the file.\n    size: The size of the file in bytes.\n    orig_name: The original filename before upload.\n    mime_type: The MIME type of the file.\n    is_stream: Indicates whether the file is a stream.\n    meta: Additional metadata used internally (should not be changed).","properties":{"path":{"title":"Path","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Mime Type"},"is_stream":{"default":false,"title":"Is Stream","type":"boolean"},"meta":{"$ref":"#/$defs/FileDataMeta"}},"required":["path"],"title":"FileData","type":"object"},"FileDataMeta":{"properties":{"_type":{"const":"gradio.FileData","title":"Type","type":"string"}},"required":["_type"],"title":"FileDataMeta","type":"object"},"GalleryImage":{"properties":{"image":{"$ref":"#/$defs/ImageData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["image"],"title":"GalleryImage","type":"object"},"GalleryVideo":{"properties":{"video":{"$ref":"#/$defs/FileData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["video"],"title":"GalleryVideo","type":"object"},"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"items":{"anyOf":[{"$ref":"#/$defs/GalleryImage"},{"$ref":"#/$defs/GalleryVideo"}]},"title":"GalleryData","type":"array","additional_description":null},"python_type":{"type":"list[dict(image: dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream
86: bool (Can always be set to False), meta: dict(str, Any)), caption: str | None) | dict(video: filepath, caption: str | None)]","description":null},"component":"Gallery","example_input":[{"image":{"path":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png","meta":{"_type":"gradio.FileData"},"orig_name":"bus.png","url":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"}}]},{"label":"Left","parameter_name":"modality_selector_left","parameter_has_default":false,"parameter_default":null,"type":{"enum":[],"title":"Radio","type":"string"},"python_type":{"type":"Literal[]","description":""},"component":"Radio","example_input":null},{"label":"Right","parameter_name":"modality_selector_right","parameter_has_default":false,"parameter_default":null,"type":{"enum":[],"title":"Radio","type":"string"},"python_type":{"type":"Literal[]","description":""},"component":"Radio","example_input":null},{"label":"Ensemble size","parameter_name":"param_3","parameter_has_default":true,"parameter_default":1,"type":{"type":"number","description":"numeric value between 1 and 10"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":1},{"label":"Number of denoising steps","parameter_name":"param_4","parameter_has_default":true,"parameter_default":4,"type":{"type":"number","description":"numeric value between 1 and 20"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":1},{"label":"Processing resolution","parameter_name":"param_5","parameter_has_default":true,"parameter_default":768,"type":{"enum":[0,768],"title":"Radio","type":"string"},"python_type":{"type":"Literal[\u00270\u0027, \u0027768\u0027]","description":""},"component":"Radio","example_input":0}],"returns":[{"label":"value_4","type":{"$defs":{"FileData":{"description":"The FileData class is a subclass of the GradioModel class that represents a file object within a Gradio interface. It is used to store file data and metadata when a file is uploaded.\n\nAttributes:\n    path: The server file path where the file is stored.\n    url: The normalized server URL pointing to the file.\n    size: The size of the file in bytes.\n    orig_name: The original filename before upload.\n    mime_type: The MIME type of the file.\n    is_stream: Indicates whether the file is a stream.\n    meta: Additional metadata used internally (should not be changed).","properties":{"path":{"title":"Path","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Mime Type"},"is_stream":{"default":false,"title":"Is Stream","type":"boolean"},"meta":{"$ref":"#/$defs/FileDataMeta"}},"required":["path"],"title":"FileData","type":"object"},"FileDataMeta":{"properties":{"_type":{"const":"gradio.FileData","title":"Type","type":"string"}},"required":["_type"],"title":"FileDataMeta","type":"object"},"GalleryImage":{"properties":{"image":{"$ref":"#/$defs/ImageData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["image"],"title":"GalleryImage","type":"object"},"GalleryVideo":{"properties":{"video":{"$ref":"#/$defs/FileData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["video"],"title":"GalleryVideo","type":"object"},"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}
86],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"items":{"anyOf":[{"$ref":"#/$defs/GalleryImage"},{"$ref":"#/$defs/GalleryVideo"}]},"title":"GalleryData","type":"array","additional_description":null},"python_type":{"type":"list[dict(image: dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream: bool (Can always be set to False), meta: dict(str, Any)), caption: str | None) | dict(video: filepath, caption: str | None)]","description":""},"component":"Gallery"},{"label":"Marigold Surface Normals","type":{"$defs":{"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"anyOf":[{"maxItems":2,"minItems":2,"prefixItems":[{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]},{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]}],"type":"array"},{"type":"null"}],"title":"SliderData","additional_description":null},"python_type":{"type":"tuple[dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream: bool (Can always be set to False), meta: dict(str, Any)) | None, dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream: bool (Can always be set to False), meta: dict(str, Any)) | None] | None","description":""},"component":"Imageslider"},{"label":"Left","type":{"enum":[],"title":"Radio","type":"string"},"python_type":{"type":"Literal[]","description":""},"component":"Radio"},{"label":"Right","type":{"enum":[],"title":"Radio","type":"string"},"python_type":{"type":"Literal[]","description":""},"component":"Radio"},{"label":"Ensemble size","type":{"type":"number","description":"numeric value between 1 and 10"},"python_type":{"type":"float","description":"numeric value between 1 and 10"},"component":"Slider"},{"label":"Number of denoising steps","type":{"type":"number","description":"numeric value between 1 and 20"},"python_type":{"type":"float","description":"numeric value between 1 and 20"},"component":"Slider"},{"label":"Processing resolution","type":{"enum":[0,768],"title":"Radio","type":"string"},"python_type":{"type":"Literal[\u00270\u0027, \u0027768\u0027]","description":""},"component":"Radio"}],"show_api":true},"/lambda":{"parameters":[],"returns":[{"label":"Marigold Surface Normals","type":{"$defs":{"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","t
86itle":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"anyOf":[{"maxItems":2,"minItems":2,"prefixItems":[{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]},{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]}],"type":"array"},{"type":"null"}],"title":"SliderData","additional_description":null},"python_type":{"type":"tuple[dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream: bool (Can always be set to False), meta: dict(str, Any)) | None, dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream: bool (Can always be set to False), meta: dict(str, Any)) | None] | None","description":""},"component":"Imageslider"},{"label":"value_4","type":{"$defs":{"FileData":{"description":"The FileData class is a subclass of the GradioModel class that represents a file object within a Gradio interface. It is used to store file data and metadata when a file is uploaded.\n\nAttributes:\n    path: The server file path where the file is stored.\n    url: The normalized server URL pointing to the file.\n    size: The size of the file in bytes.\n    orig_name: The original filename before upload.\n    mime_type: The MIME type of the file.\n    is_stream: Indicates whether the file is a stream.\n    meta: Additional metadata used internally (should not be changed).","properties":{"path":{"title":"Path","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Mime Type"},"is_stream":{"default":false,"title":"Is Stream","type":"boolean"},"meta":{"$ref":"#/$defs/FileDataMeta"}},"required":["path"],"title":"FileData","type":"object"},"FileDataMeta":{"properties":{"_type":{"const":"gradio.FileData","title":"Type","type":"string"}},"required":["_type"],"title":"FileDataMeta","type":"object"},"GalleryImage":{"properties":{"image":{"$ref":"#/$defs/ImageData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["image"],"title":"GalleryImage","type":"object"},"GalleryVideo":{"properties":{"video":{"$ref":"#/$defs/FileData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["video"],"title":"GalleryVideo","type":"object"},"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}
86],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"items":{"anyOf":[{"$ref":"#/$defs/GalleryImage"},{"$ref":"#/$defs/GalleryVideo"}]},"title":"GalleryData","type":"array","additional_description":null},"python_type":{"type":"list[dict(image: dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream: bool (Can always be set to False), meta: dict(str, Any)), caption: str | None) | dict(video: filepath, caption: str | None)]","description":""},"component":"Gallery"}],"show_api":true},"/on_selector_change_left":{"parameters":[{"label":"parameter_4","parameter_name":"results_state","parameter_has_default":true,"parameter_default":[],"type":{"$defs":{"FileData":{"description":"The FileData class is a subclass of the GradioModel class that represents a file object within a Gradio interface. It is used to store file data and metadata when a file is uploaded.\n\nAttributes:\n    path: The server file path where the file is stored.\n    url: The normalized server URL pointing to the file.\n    size: The size of the file in bytes.\n    orig_name: The original filename before upload.\n    mime_type: The MIME type of the file.\n    is_stream: Indicates whether the file is a stream.\n    meta: Additional metadata used internally (should not be changed).","properties":{"path":{"title":"Path","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Mime Type"},"is_stream":{"default":false,"title":"Is Stream","type":"boolean"},"meta":{"$ref":"#/$defs/FileDataMeta"}},"required":["path"],"title":"FileData","type":"object"},"FileDataMeta":{"properties":{"_type":{"const":"gradio.FileData","title":"Type","type":"string"}},"required":["_type"],"title":"FileDataMeta","type":"object"},"GalleryImage":{"properties":{"image":{"$ref":"#/$defs/ImageData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["image"],"title":"GalleryImage","type":"object"},"GalleryVideo":{"properties":{"video":{"$ref":"#/$defs/FileData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["video"],"title":"GalleryVideo","type":"object"},"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"items":{"anyOf":[{"$ref":"#/$defs/GalleryImage"},{"$ref":"#/$defs/GalleryVideo"}]},"title":"GalleryData","type":"array","additional_description":null},"python_type":{"type":"list[dict(image: dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream
86: bool (Can always be set to False), meta: dict(str, Any)), caption: str | None) | dict(video: filepath, caption: str | None)]","description":null},"component":"Gallery","example_input":[{"image":{"path":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png","meta":{"_type":"gradio.FileData"},"orig_name":"bus.png","url":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"}}]},{"label":"Marigold Surface Normals","parameter_name":"image_slider","parameter_has_default":false,"parameter_default":null,"type":{"$defs":{"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"anyOf":[{"maxItems":2,"minItems":2,"prefixItems":[{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]},{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]}],"type":"array"},{"type":"null"}],"title":"SliderData","additional_description":null},"python_type":{"type":"tuple[dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream: bool (Can always be set to False), meta: dict(str, Any)) | None, dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream: bool (Can always be set to False), meta: dict(str, Any)) | None] | None","description":null},"component":"Imageslider","example_input":[{"path":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png","meta":{"_type":"gradio.FileData"},"orig_name":"bus.png","url":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"},{"path":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png","meta":{"_type":"gradio.FileData"},"orig_name":"bus.png","url":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"}]},{"label":"Left","parameter_name":"modality_selector_left","parameter_has_default":false,"parameter_default":null,"type":{"enum":[],"title":"Radio","type":"string"},"python_type":{"type":"Literal[]","description":""},"component":"Radio","example_input":null}],"returns":[{"label":"Marigold Surface Normals","type":{"$defs":{"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}
86],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"anyOf":[{"maxItems":2,"minItems":2,"prefixItems":[{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]},{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]}],"type":"array"},{"type":"null"}],"title":"SliderData","additional_description":null},"python_type":{"type":"tuple[dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream: bool (Can always be set to False), meta: dict(str, Any)) | None, dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream: bool (Can always be set to False), meta: dict(str, Any)) | None] | None","description":""},"component":"Imageslider"}],"show_api":true},"/on_selector_change_right":{"parameters":[{"label":"parameter_4","parameter_name":"results_state","parameter_has_default":true,"parameter_default":[],"type":{"$defs":{"FileData":{"description":"The FileData class is a subclass of the GradioModel class that represents a file object within a Gradio interface. It is used to store file data and metadata when a file is uploaded.\n\nAttributes:\n    path: The server file path where the file is stored.\n    url: The normalized server URL pointing to the file.\n    size: The size of the file in bytes.\n    orig_name: The original filename before upload.\n    mime_type: The MIME type of the file.\n    is_stream: Indicates whether the file is a stream.\n    meta: Additional metadata used internally (should not be changed).","properties":{"path":{"title":"Path","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Mime Type"},"is_stream":{"default":false,"title":"Is Stream","type":"boolean"},"meta":{"$ref":"#/$defs/FileDataMeta"}},"required":["path"],"title":"FileData","type":"object"},"FileDataMeta":{"properties":{"_type":{"const":"gradio.FileData","title":"Type","type":"string"}},"required":["_type"],"title":"FileDataMeta","type":"object"},"GalleryImage":{"properties":{"image":{"$ref":"#/$defs/ImageData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["image"],"title":"GalleryImage","type":"object"},"GalleryVideo":{"properties":{"video":{"$ref":"#/$defs/FileData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["video"],"title":"GalleryVideo","type":"object"},"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"items":{"anyOf":[{"$ref":"#/$defs/GalleryImage"},{"$ref":"#/$defs/GalleryVideo"}]},"title":"GalleryData","type":"array","additional_description":null},"python_type":{"type":"list[dict(image: dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream
86: bool (Can always be set to False), meta: dict(str, Any)), caption: str | None) | dict(video: filepath, caption: str | None)]","description":null},"component":"Gallery","example_input":[{"image":{"path":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png","meta":{"_type":"gradio.FileData"},"orig_name":"bus.png","url":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"}}]},{"label":"Marigold Surface Normals","parameter_name":"image_slider","parameter_has_default":false,"parameter_default":null,"type":{"$defs":{"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"anyOf":[{"maxItems":2,"minItems":2,"prefixItems":[{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]},{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]}],"type":"array"},{"type":"null"}],"title":"SliderData","additional_description":null},"python_type":{"type":"tuple[dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream: bool (Can always be set to False), meta: dict(str, Any)) | None, dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream: bool (Can always be set to False), meta: dict(str, Any)) | None] | None","description":null},"component":"Imageslider","example_input":[{"path":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png","meta":{"_type":"gradio.FileData"},"orig_name":"bus.png","url":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"},{"path":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png","meta":{"_type":"gradio.FileData"},"orig_name":"bus.png","url":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"}]},{"label":"Right","parameter_name":"modality_selector_right","parameter_has_default":false,"parameter_default":null,"type":{"enum":[],"title":"Radio","type":"string"},"python_type":{"type":"Literal[]","description":""},"component":"Radio","example_input":null}],"returns":[{"label":"Marigold Surface Normals","type":{"$defs":{"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}
86],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"anyOf":[{"maxItems":2,"minItems":2,"prefixItems":[{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]},{"anyOf":[{"$ref":"#/$defs/ImageData"},{"type":"null"}]}],"type":"array"},{"type":"null"}],"title":"SliderData","additional_description":null},"python_type":{"type":"tuple[dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream: bool (Can always be set to False), meta: dict(str, Any)) | None, dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream: bool (Can always be set to False), meta: dict(str, Any)) | None] | None","description":""},"component":"Imageslider"}],"show_api":true}},"unnamed_endpoints":{}};</script>
86
87
88		<link rel="preconnect" href="https://fonts.googleapis.com" />
89		<link
90			rel="preconnect"
91			href="https://fonts.gstatic.com"
92			crossorigin="anonymous"
93		/>
94		
94<script
95			src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"
96			async
97		></script>
97
98
99		<link rel="manifest" href="/manifest.json" />
100		
100<script type="module" crossorigin src="./assets/index-Do3LSwBC.js"></script>
100
101		<link rel="stylesheet" crossorigin href="./assets/index-CHc6r96-.css">
102	</head>
103
104	<body
105		style="
106			width: 100%;
107			margin: 0;
108			padding: 0;
109			display: flex;
110			flex-direction: column;
111			flex-grow: 1;
112		"
113	>
114		<gradio-app
115			control_page_title="true"
116			embed="false"
117			eager="true"
118			style="display: flex; flex-direction: column; flex-grow: 1"
119		>
120		</gradio-app>
121		
121<script>
122			const ce = document.getElementsByTagName("gradio-app");
123
124			if (ce[0]) {
125				ce[0].addEventListener("domchange", () => {
126					document.body.style.padding = "0";
127				});
128				document.body.style.padding = "0";
129			}
130		</script>
130
131	</body>
132</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.