PageSourceSearch

https://ipekoztas-objmove-demo.hf.space/

html ipekoztas-objmove-demo.hf.space collected 2026-10-04 16:57:54 UTC 70,930 bytes, 114 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
19		<style>
20			:root {
21				--bg: #0d1117;
22				--col:   #e6edf3;
23				--bg-dark: #0a0f1e;
24				--col-dark: #f1f5f9;
25			}
26
27
28			body {
29				background: var(--bg);
30				color: var(--col);
31				font-family: Arial, Helvetica, sans-serif;
32			}
33
34			@media (prefers-color-scheme: dark) {
35				body {
36					background: var(--bg-dark);
37					color: var(--col-dark);
38				}
39			}
40		</style>
41
42		<meta property="og:url" content="https://gradio.app/" />
43		<meta property="og:type" content="website" />
44		<meta property="og:image" content="" />
45		<meta property="og:title" content="Object Moving Demo" />
46		<meta
47			property="og:description"
48			content=""
49		/>
50		<meta name="twitter:card" content="summary_large_image" />
51		<meta name="twitter:creator" content="@teamGradio" />
52		<meta name="twitter:title" content="Object Moving Demo" />
53		<meta
54			name="twitter:description"
55			content=""
56		/>
57		<meta name="twitter:image" content="" />
58
59		
59<script data-gradio-mode>
60			window.__gradio_mode__ = "app";
61			window.iFrameResizer = {
62				heightCalculationMethod: "taggedElement"
63			};
64			window.parent?.postMessage(
65				{ type: "SET_SCROLLING", enabled: false },
66				"*"
67			);
68		</script>
68
69
70		
70<script>window.gradio_config = {"version":"4.44.1","mode":"blocks","app_id":1418783455403766146,"dev_mode":false,"analytics_enabled":true,"components":[{"id":1,"type":"markdown","props":{"value":"# Depth-Aware Object Moving — Live Demo\n**Pick an example below** (image + mask preloaded — jump to step 4), or **Upload** your own and follow all the steps:\n1) **Upload** an image · 2) **Drag a rectangle** on the source panel around the object · 3) Press **✂ Segment object** · 4) **Click the mask panel** to set the target · 5) Tune ΔZ / Scale / prompt · 6) Press **▶ Run**.\nFirst request after a quiet period takes ~60–90 s (GPU cold-start).","show_label":true,"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,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"2f8ae0d79bc4b325df54168108910046","key":null,"api_info":{"type":"string"},"example_inputs":"# Hello!"},{"id":2,"type":"state","props":{"time_to_live":null,"delete_callback":"\u003cfunction State.__init__.\u003clocals\u003e.\u003clambda\u003e at 0x7f04ed255da0\u003e","name":"state","_selectable":false},"skip_api":true,"component_class_id":"9810e817aabbed831adf3600008e455a","key":null},{"id":3,"type":"state","props":{"value":false,"time_to_live":null,"delete_callback":"\u003cfunction State.__init__.\u003clocals\u003e.\u003clambda\u003e at 0x7f04ed255e40\u003e","name":"state","_selectable":false},"skip_api":true,"component_class_id":"9810e817aabbed831adf3600008e455a","key":null},{"id":4,"type":"state","props":{"time_to_live":null,"delete_callback":"\u003cfunction State.__init__.\u003clocals\u003e.\u003clambda\u003e at 0x7f04ed255ee0\u003e","name":"state","_selectable":false},"skip_api":true,"component_class_id":"9810e817aabbed831adf3600008e455a","key":null},{"id":5,"type":"state","props":{"time_to_live":null,"delete_callback":"\u003cfunction State.__init__.\u003clocals\u003e.\u003clambda\u003e at 0x7f04ed255f80\u003e","name":"state","_selectable":false},"skip_api":true,"component_class_id":"9810e817aabbed831adf3600008e455a","key":null},{"id":6,"type":"row","props":{"variant":"default","visible":true,"equal_height":true,"show_progress":false,"name":"row"},"skip_api":true,"component_class_id":"3567c729f5ff0a8d3c753e61fd372128","key":null},{"id":7,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"name":"column"},"skip_api":true,"component_class_id":"9b4d04712eaf8e07d5f527aac43b3012","key":null},{"id":8,"type":"gallery","props":{"value":[{"image":{"path":"/tmp/gradio/f60696ccf9c3b39d042f36e0d2ed40819f3efef71c1205bdbc1782266f9f4fa6/000.png","url":"https://ipekoztas-objmove-demo.hf.space/file=/tmp/gradio/f60696ccf9c3b39d042f36e0d2ed40819f3efef71c1205bdbc1782266f9f4fa6/000.png","size":null,"orig_name":"000.png","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"caption":"#0"},{"image":{"path":"/tmp/gradio/b6e78b805a688063710ba6946e5279e1fd1db0a87b1ce3ded1459141fcbe8ff2/003.png","url":"https://ipekoztas-objmove-demo.hf.space/file=/tmp/gradio/b6e78b805a688063710ba6946e5279e1fd1db0a87b1ce3ded1459141fcbe8ff2/003.png","size":null,"orig_name":"003.png","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"caption":"#1"},{"image":{"path":"/tmp/gradio/968ceb9b0679ba3d126731166ab83f6901df2526cac322daeb495fcb3d640fab/005.png","url":"https://ipekoztas-objmove-demo.hf.space/file=/tmp/gradio/968ceb9b0679ba3d126731166ab83f6901df2526cac322daeb495fcb3d640fab/005.png","size":null,"orig_name":"005.png","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"caption":"#2"},{"image":{"path":"/tmp/gradio/0e31ce31bb9b3362fe5e2a5f7b71a097f230175e68823e9c66cb5b37d1299000/006.png","url":"https://ipekoztas-objmove-demo.hf.space/file=/tmp/gradio/0e31ce31bb9b3362fe5e2a5f7b71a097f230175e68823e9c66cb5b37d1299000/006.png","size":null,"orig_name":"006.png","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"caption":"#3"},{"image":{"path":"/tmp/gradio/30310211dcd63d8095796ea252903ab97dc0d6af574bd1393dfcb3119df6116b/007.png","url":"https://ipekoztas-objmove-demo.hf.space/file=/tmp/gradio/30310211dcd63d8095796ea252903ab97dc0d6af574bd1393dfcb3119df6116b/007.png","size":null,"orig_name":"007.png","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"caption":"#4"},{"image":{"path":"/tmp/gradio/61d376674281f9133ce3368b48113b08e498bab7f424b114a5bd2f4dd1fac35c/008.png","url":"https://ipekoztas-objmove-demo.hf.space/file=/tmp/gradio/61d376674281f9133ce3368b48113b08e498bab7f424b114a5bd2f4dd1fac35c/008.png","size":null,"orig_name":"008.png","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"caption":"#5"},{"image":{"path":"/tmp/gradio/39ea1794a5abcbc6c032dabb68839e60168b3fdf4b85903e9734fb6c5dbe85f7/009.png","url":"https://ipekoztas-objmove-demo.hf.space/file=/tmp/gradio/39ea1794a5abcbc6c032dabb68839e60168b3fdf4b85903e9734fb6c5dbe85f7/009.png","size":null,"orig_name":"009.png","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"caption":"#6"},{"image":{"path":"/tmp/gradio/eaf557b7e12cec2f7a3172be400d4a725182bd9e8082b59e51926cf22d310d34/010.png","url":"https://ipekoztas-objmove-demo.hf.space/file=/tmp/gradio/eaf557b7e12cec2f7a3172be400d4a725182bd9e8082b59e51926cf22d310d34/010.png","size":null,"orig_name":"010.png","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"caption":"#7"},{"image":{"path":"/tmp/gradio/ab5d0edaa6de2f625d7638a883467bc2ada1bb2e8d43377c41cef7a814edc0c2/011.png","url":"https://ipekoztas-objmove-demo.hf.space/file=/tmp/gradio/ab5d0edaa6de2f625d7638a883467bc2ada1bb2e8d43377c41cef7a814edc0c2/011.png","size":null,"orig_name":"011.png","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"caption":"#8"}],"format":"webp","label":"📚 Examples — click any to load image 
70+ precomputed mask (scroll →)","show_label":true,"container":true,"min_width":160,"visible":true,"elem_id":"examples-gallery","elem_classes":[],"columns":9,"rows":1,"height":200,"allow_preview":false,"object_fit":"cover","show_share_button":true,"show_download_button":true,"type":"filepath","show_fullscreen_button":true,"name":"gallery","_selectable":true},"skip_api":false,"component_class_id":"9680eeb229456ebba079cd0d4b769959","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.\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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"GalleryImage":{"properties":{"image":{"$ref":"#/$defs/FileData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["image"],"title":"GalleryImage","type":"object"}},"items":{"$ref":"#/$defs/GalleryImage"},"title":"GalleryData","type":"array"},"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":9,"type":"uploadbutton","props":{"label":"📤 Upload image","variant":"primary","visible":true,"interactive":true,"elem_classes":[],"type":"filepath","file_count":"single","file_types":["image"],"name":"uploadbutton","_selectable":false},"skip_api":false,"component_class_id":"4e97b59b7fdc9d1a71b538a6b2c00bad","key":null,"api_info":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"example_inputs":{"path":"https://github.com/gradio-app/gradio/raw/main/test/test_files/sample_file.pdf","meta":{"_type":"gradio.FileData"},"orig_name":"sample_file.pdf","url":"https://github.com/gradio-app/gradio/raw/main/test/test_files/sample_file.pdf"}},{"id":10,"type":"imageprompter","props":{"streamable":false,"image_mode":"RGB","sources":["upload","clipboard"],"type":"pil","label":"Source — drag a rectangle to mark the object (press 🔁 Re-mask to start over)","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"elem_id":"source-prompter","elem_classes":[],"show_share_button":true,"name":"imageprompter","_selectable":false},"skip_api":false,"component_class_id":"d7dd25fd6c5a1673b81679e8ce795126","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.\
70n    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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"}},"properties":{"image":{"$ref":"#/$defs/FileData"},"points":{"items":{"items":{"type":"number"},"type":"array"},"title":"Points","type":"array"}},"required":["image","points"],"title":"PromptData","type":"object"},"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":11,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"pil","label":"Segmentation mask (green overlay). After ✂ Segment, **click here to set the target**.","show_label":true,"show_download_button":true,"container":true,"min_width":160,"interactive":false,"visible":true,"streaming":false,"elem_classes":[],"mirror_webcam":true,"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":true},"skip_api":false,"component_class_id":"f35aa1691684727dffaae1eca8b3d490","key":null,"api_info":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"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":12,"type":"markdown","props":{"value":"Upload an image to begin.","show_label":true,"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,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"2f8ae0d79bc4b325df54168108910046","key":null,"api_info":{"type":"string"},"example_inputs":"# Hello!"},{"id":13,"type":"slider","props":{"minimum":-1.0,"maximum":1.0,"value":0.0,"step":0.05,"label":"ΔZ (depth offset)","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"name":"slider","_selectable":false},"skip_api":false,"component_class_id":"515af5e5e47170669e826aac8c1f4961","key":null,"api_info":{"type":"number","description":"numeric value between -1.0 and 1.0"},"example_inputs":-1.0},{"id":14,"type":"slider","props":{"minimum":0.6,"maximum":1.4,"value":1.0,"step":0.02,"label":"Scale factor","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"name":"slider","_selectable":false},"skip_api":false,"component_class_id":"515af5e5e47170669e826aac8c1f4961","key":null,"api_info":{"type":"number","description":"numeric value between 0.6 and 1.4"},"example_inputs":0.6},{"id":15,"type":"textbox","props":{"value":"Move the object indicated by the mask to the new location, keeping the rest of the scene unchanged.","lines":2,"max_lines":20,"label":"Prompt","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"type":"text","rtl":false,"show_copy_button":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"7e81e8f6243dcfcd3c5ebd9353f4a449","key":null,"api_info":{"type":"string"},"example_inputs":"Hello!!"},{"id":16,"type":"row","props":{"variant":"default","visible":true,"equal_height":true,"show_progress":false,"name":"row"},"skip_api":true,"component_class_id":"3567c729f5ff0a8d3c753e61fd372128","key":null},{"id":17,"type":"button","props":{"value":"✂ Segment object","variant":"secondary","visible":true,"interactive":true,"elem_classes":[],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"41552bb7a3f573d8cd912b6d7ca94270","key":null},{"id":18,"type":"button","props":{"value":"🔁 Re-mask (draw new box)","variant":"secondary","visible":true,"interactive":true,"elem_classes":[],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"41552bb7a3f573d8cd912b6d7ca94270","key":null},{"id":19,"type":"button","props":{"value":"▶ Run move pipeline","variant":"primary","visible":true,"interactive":true,"elem_classes":[],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"41552bb7a3f573d8cd912b6d7ca94270","key":null},{"id":20,"type":"button","props":{"value":"🔄 Reset","variant":"secondary","visible":true,"interactive":true,"elem_classes":[],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"41552bb7a3f573d8cd912b6d7ca94270","key":null},{"id":21,"type":"form","props":{"scale":0,"min_width":0,"name":"form"},"skip_api":true,"component_class_id":"3367d5f96747e6082d0c716ac960e59c","key":null},{"id":22,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"name":"column"},"skip_api":true,"component_class_id":"9b4d04712eaf8e07d5f527aac43b3012","key":null},{"id":23,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"pil","label":"Final result","show_label":true,"show_download_button":true,"container":true,"min_width":160,"interactive":false,"visible":true,"streaming":false,"elem_classes":[],"mirror_webcam":true,"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"f35aa1691684727dffaae1eca8b3d490","key":null,"api_info":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"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":24,"type":"row","props":{"variant":"default","visible":true,"equal_height":true,"show_progress":false,"name":"row"},"skip_api":true,"component_class_id":"3567c729f5ff0a8d3c753e61fd372128","key":null},{"id":25,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"pil","label":"Source depth (MoGe-2)","show_label":true,"show_download_button":true,"container":true,"min_width":160,"interactive":false,"visible":true,"streaming":false,"elem_classes":[],"mirror_webcam":true,"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"f35aa1691684727dffaae1eca8b3d490","key":null,"api_info":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"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":26,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"pil","label":"Backgroun
70d depth (Laplace)","show_label":true,"show_download_button":true,"container":true,"min_width":160,"interactive":false,"visible":true,"streaming":false,"elem_classes":[],"mirror_webcam":true,"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"f35aa1691684727dffaae1eca8b3d490","key":null,"api_info":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"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":27,"type":"row","props":{"variant":"default","visible":true,"equal_height":true,"show_progress":false,"name":"row"},"skip_api":true,"component_class_id":"3567c729f5ff0a8d3c753e61fd372128","key":null},{"id":28,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"pil","label":"Target mask (shifted)","show_label":true,"show_download_button":true,"container":true,"min_width":160,"interactive":false,"visible":true,"streaming":false,"elem_classes":[],"mirror_webcam":true,"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"f35aa1691684727dffaae1eca8b3d490","key":null,"api_info":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"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":29,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"pil","label":"Target depth (Z-buffer)","show_label":true,"show_download_button":true,"container":true,"min_width":160,"interactive":false,"visible":true,"streaming":false,"elem_classes":[],"mirror_webcam":true,"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"f35aa1691684727dffaae1eca8b3d490","key":null,"api_info":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"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":30,"type":"markdown","props":{"value":"","show_label":true,"rtl":false,"latex_delimiters":[{"left"
70:"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"2f8ae0d79bc4b325df54168108910046","key":null,"api_info":{"type":"string"},"example_inputs":"# Hello!"}],"css":"\n.gradio-container, body { background: #0d1117 !important; color: #e6edf3 !important; }\n.prose, .prose * { color: #e6edf3 !important; }\n\n/* Single-row, horizontally-scrollable examples gallery. */\n#examples-gallery .grid-wrap {\n    display: flex !important;\n    flex-wrap: nowrap !important;\n    overflow-x: auto !important;\n    overflow-y: hidden !important;\n    grid-template-columns: none !important;\n    grid-template-rows: none !important;\n    gap: 8px !important;\n    padding-bottom: 6px;\n}\n#examples-gallery .grid-wrap \u003e * {\n    flex: 0 0 auto !important;\n    width: 160px !important;\n    height: 160px !important;\n}\n#examples-gallery .grid-wrap::-webkit-scrollbar { height: 8px; }\n#examples-gallery .grid-wrap::-webkit-scrollbar-thumb {\n    background: #30363d; border-radius: 4px;\n}\n#examples-gallery .grid-wrap::-webkit-scrollbar-thumb:hover { background: #484f58; }\n\n","connect_heartbeat":true,"js":"\n() =\u003e {\n    const DRAG_PX = 4;\n    const states = new WeakMap();   // canvas -\u003e per-canvas state\n\n    function setupCanvas(canvas) {\n        if (states.has(canvas)) return;\n        const s = {boxDrawn: false, downX: 0, downY: 0, dragged: false};\n        states.set(canvas, s);\n\n        canvas.addEventListener(\u0027mousedown\u0027, (e) =\u003e {\n            if (s.boxDrawn) {\n                e.stopPropagation();\n                e.stopImmediatePropagation();\n                e.preventDefault();\n                return;\n            }\n            s.downX = e.clientX;\n            s.downY = e.clientY;\n            s.dragged = false;\n        }, true);\n\n        canvas.addEventListener(\u0027mousemove\u0027, (e) =\u003e {\n            if (Math.abs(e.clientX - s.downX) \u003e DRAG_PX ||\n                Math.abs(e.clientY - s.downY) \u003e DRAG_PX) {\n                s.dragged = true;\n            }\n        }, true);\n\n        canvas.addEventListener(\u0027mouseup\u0027, (e) =\u003e {\n            if (s.boxDrawn || !s.dragged) {\n                e.stopPropagation();\n                e.stopImmediatePropagation();\n                e.preventDefault();\n                return;\n            }\n            // Real drag finished: lock further drags until reset.\n            s.boxDrawn = true;\n        }, true);\n\n        // Belt-and-suspenders: synthetic click + right-click never produce\n        // useful prompts in our pipeline.\n        const swallow = (e) =\u003e {\n            e.stopPropagation();\n            e.stopImmediatePropagation();\n            e.preventDefault();\n        };\n        canvas.addEventListener(\u0027click\u0027, swallow, true);\n        canvas.addEventListener(\u0027contextmenu\u0027, swallow, true);\n    }\n\n    function resetAll() {\n        document\n            .querySelectorAll(\u0027#source-prompter canvas\u0027)\n            .forEach(c =\u003e {\n                const s = states.get(c);\n                if (s) s.boxDrawn = false;\n            });\n    }\n\n    function scan() {\n        document\n            .querySelectorAll(\u0027#source-prompter canvas\u0027)\n            .forEach(setupCanvas);\n    }\n\n    // Re-arm the \"draw one rectangle\" lock when the user clicks any of the\n    // entry points that reset the prompter to a fresh image. setTimeout\n    // delays the reset slightly so it runs *after* Gradio has finished\n    // pushing the new prompter value to the canvas.\n    document.addEventListener(\u0027click\u0027, (e) =\u003e {\n        const btn = e.target.closest(\u0027button\u0027);\n        if (btn) {\n            const txt = btn.textContent || \u0027\u0027;\n            if (txt.includes(\u0027Re-mask\u0027) ||\n                txt.includes(\u0027Reset\u0027)   ||\n                txt.includes(\u0027Upload\u0027)) {\n                setTimeout(resetAll, 150);\n                return;\n            }\n        }\n        if (e.target.closest(\u0027#examples-gallery .grid-wrap \u003e *\u0027)) {\n            setTimeout(resetAll, 150);\n        }\n    }, true);\n\n    scan();\n    const obs = new MutationObserver(scan);\n    obs.observe(document.body, {childList: true, subtree: true});\n}
70\n","head":null,"title":"Object Moving Demo","space_id":"ipekoztas/objmove-demo","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","https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600\u0026display=swap"],"theme":"default","protocol":"sse_v3","body_css":{"body_background_fill":"#0d1117","body_text_color":"#e6edf3","body_background_fill_dark":"#0a0f1e","body_text_color_dark":"#f1f5f9"},"fill_height":false,"fill_width":false,"theme_hash":"938e36ca6e0d2c06f4d8315b81596d6b022ab657533441481ab74c5b71d7112d","layout":{"id":0,"children":[{"id":1},{"id":2},{"id":3},{"id":4},{"id":5},{"id":6,"children":[{"id":7,"children":[{"id":8},{"id":9},{"id":10},{"id":11},{"id":12},{"id":21,"children":[{"id":13},{"id":14},{"id":15}]},{"id":16,"children":[{"id":17},{"id":18},{"id":19},{"id":20}]}]},{"id":22,"children":[{"id":23},{"id":24,"children":[{"id":25},{"id":26}]},{"id":27,"children":[{"id":28},{"id":29}]},{"id":30}]}]}]},"dependencies":[{"id":0,"targets":[[9,"upload"]],"inputs":[9],"outputs":[2,10,5,11,12,3,4],"backend_fn":true,"js":null,"queue":true,"api_name":"do_upload","scroll_to_output":false,"show_progress":"full","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,"zerogpu":false,"rendered_in":null},{"id":1,"targets":[[8,"select"]],"inputs":[],"outputs":[2,10,5,11,12,3,4],"backend_fn":true,"js":null,"queue":true,"api_name":"do_load_example","scroll_to_output":false,"show_progress":"full","batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":false,"cancel":false},"collects_event_data":true,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true,"zerogpu":false,"rendered_in":null},{"id":2,"targets":[[10,"change"]],"inputs":[10],"outputs":[10],"backend_fn":true,"js":null,"queue":true,"api_name":"keep_only_latest_box","scroll_to_output":false,"show_progress":"hidden","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":"always_last","show_api":true,"zerogpu":false,"rendered_in":null},{"id":3,"targets":[[17,"click"]],"inputs":[2,10],"outputs":[5,11,3,12,4,10],"backend_fn":true,"js":null,"queue":true,"api_name":"do_segment","scroll_to_output":false,"show_progress":"full","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,"zerogpu":false,"rendered_in":null},{"id":4,"targets":[[18,"click"]],"inputs":[2],"outputs":[10,5,11,3,4,12],"backend_fn":true,"js":null,"queue":true,"api_name":"do_redraw_box","scroll_to_output":false,"show_progress":"full","batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":true,"cancel":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true,"zerogpu":false,"rendered_in":null},{"id":5,"targets":[[11,"select"]],"inputs":[2,5,3],"outputs":[11,4,12],"backend_fn":true,"js":null,"queue":true,"api_name":"on_target_click","scroll_to_output":false,"show_progress":"full","batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":false,"cancel":false},"collects_event_data":true,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true,"zerogpu":false,"rendered_in":null},{"id":6,"targets":[[20,"click"]],"inputs":[],"outputs":[2,10,5,11,12,3,4,23,25,26,28,29,30],"backend_fn":true,"js":null,"queue":true,"api_name":"do_reset","scroll_to_output":false,"show_progress":"full","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,"zerogpu":false,"rendered_in":null},{"id":7,"targets":[[19,"click"]],"inputs":[2,5,4,13,14,15],"outputs":[23,25,26,28,29,30],"backend_fn":true,"js":null,"queue":true,"api_name":"do_move","scroll_to_output":false,"show_progress":"full","batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":true,"cancel":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true,"zerogpu":false,"rendered_in":null}],"root":"https://ipekoztas-objmove-demo.hf.space","username":null};</script>
70<script>window.gradio_api_info = {"named_endpoints":{"/do_upload":{"parameters":[{"label":"📤 Upload image","parameter_name":"file","parameter_has_default":false,"parameter_default":null,"type":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"python_type":{"type":"Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any))","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)."},"component":"Uploadbutton","example_input":{"path":"https://github.com/gradio-app/gradio/raw/main/test/test_files/sample_file.pdf","meta":{"_type":"gradio.FileData"},"orig_name":"sample_file.pdf","url":"https://github.com/gradio-app/gradio/raw/main/test/test_files/sample_file.pdf"}}],"returns":[{"label":"Source — drag a rectangle to mark the object (press 🔁 Re-mask to start over)","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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"}},"properties":{"image":{"$ref":"#/$defs/FileData"},"points":{"items":{"items":{"type":"number"},"type":"array"},"title":"Points","type":"array"}},"required":["image","points"],"title":"PromptData","type":"object"},"python_type":{"type":"Dict(image: Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream
70: bool, meta: Dict(str, Any)), points: List[List[float]])","description":""},"component":"Imageprompter"},{"label":"Segmentation mask (green overlay). After ✂ Segment, **click here to set the target**.","type":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"python_type":{"type":"Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any))","description":""},"component":"Image"},{"label":"value_12","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Markdown"}],"show_api":true},"/do_load_example":{"parameters":[],"returns":[{"label":"Source — drag a rectangle to mark the object (press 🔁 Re-mask to start over)","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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"}},"properties":{"image":{"$ref":"#/$defs/FileData"},"points":{"items":{"items":{"type":"number"},"type":"array"},"title":"Points","type":"array"}},"required":["image","points"],"title":"PromptData","type":"object"},"python_type":{"type":"Dict(image: Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any)), points: List[List[float]])","description":""},"component":"Imageprompter"},{"label":"Segmentation mask (green overlay). After ✂ Segment, **click here to set the target**.","type":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"python_type":{"type":"Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any))","description":""},"component":"Image"},{"label":"value_12","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Markdown"}],"show_api":true},"/keep_only_latest_box":{"parameters":[{"label":"Source — drag a rectangle to mark the object (press 🔁 Re-mask to start over)","parameter_name":"prompter_value","parameter_has_default":false,"parameter_default":null,"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.\
70n    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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"}},"properties":{"image":{"$ref":"#/$defs/FileData"},"points":{"items":{"items":{"type":"number"},"type":"array"},"title":"Points","type":"array"}},"required":["image","points"],"title":"PromptData","type":"object"},"python_type":{"type":"Dict(image: Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any)), points: List[List[float]])","description":""},"component":"Imageprompter","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"}}],"returns":[{"label":"Source — drag a rectangle to mark the object (press 🔁 Re-mask to start over)","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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"}},"properties":{"image":{"$ref":"#/$defs/FileData"},"points":{"items":{"items":{"type":"number"},"type":"array"},"title":"Points","type":"array"}},"required":["image","points"],"title":"PromptData","type":"object"},"python_type":{"type":"Dict(image: Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any)), points: List[List[float]])","description":""},"component":"Imageprompter"}],"show_api":true},"/do_segment":{"parameters":[{"label":"Source — drag a rectangle to mark the object (press 🔁 Re-mask to start over)","parameter_name":"prompter_value","parameter_has_default":false,"parameter_default":null,"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
70: 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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"}},"properties":{"image":{"$ref":"#/$defs/FileData"},"points":{"items":{"items":{"type":"number"},"type":"array"},"title":"Points","type":"array"}},"required":["image","points"],"title":"PromptData","type":"object"},"python_type":{"type":"Dict(image: Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any)), points: List[List[float]])","description":""},"component":"Imageprompter","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"}}],"returns":[{"label":"Segmentation mask (green overlay). After ✂ Segment, **click here to set the target**.","type":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"python_type":{"type":"Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any))","description":""},"component":"Image"},{"label":"value_12","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Markdown"},{"label":"Source — drag a rectangle to mark the object (press 🔁 Re-mask to start over)","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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"}},"properties":{"image":{"$ref":"#/$defs/FileData"},"points":{"items":{"items":{"type":"number"},"type":"array"},"title":"Points","type":"array"}},"required":["image","points"],"title":"PromptData","type":"object"},"python_type":{"type":"Dict(image: Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream
70: bool, meta: Dict(str, Any)), points: List[List[float]])","description":""},"component":"Imageprompter"}],"show_api":true},"/do_redraw_box":{"parameters":[],"returns":[{"label":"Source — drag a rectangle to mark the object (press 🔁 Re-mask to start over)","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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"}},"properties":{"image":{"$ref":"#/$defs/FileData"},"points":{"items":{"items":{"type":"number"},"type":"array"},"title":"Points","type":"array"}},"required":["image","points"],"title":"PromptData","type":"object"},"python_type":{"type":"Dict(image: Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any)), points: List[List[float]])","description":""},"component":"Imageprompter"},{"label":"Segmentation mask (green overlay). After ✂ Segment, **click here to set the target**.","type":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"python_type":{"type":"Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any))","description":""},"component":"Image"},{"label":"value_12","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Markdown"}],"show_api":true},"/on_target_click":{"parameters":[],"returns":[{"label":"Segmentation mask (green overlay). After ✂ Segment, **click here to set the target**.","type":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"python_type":{"type":"Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any))","description":""},"component":"Image"},{"label":"value_12","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Markdown"}],"show_api":true},"/do_reset":{"parameters":[],"returns":[{"label":"Source — drag a rectangle to mark the object (press 🔁 Re-mask to start over)","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.\
70n    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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"}},"properties":{"image":{"$ref":"#/$defs/FileData"},"points":{"items":{"items":{"type":"number"},"type":"array"},"title":"Points","type":"array"}},"required":["image","points"],"title":"PromptData","type":"object"},"python_type":{"type":"Dict(image: Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any)), points: List[List[float]])","description":""},"component":"Imageprompter"},{"label":"Segmentation mask (green overlay). After ✂ Segment, **click here to set the target**.","type":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"python_type":{"type":"Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any))","description":""},"component":"Image"},{"label":"value_12","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Markdown"},{"label":"Final result","type":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"python_type":{"type":"Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any))","description":""},"component":"Image"},{"label":"Source depth (MoGe-2)","type":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"python_type":{"type":"Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any))","description":""},"component":"Image"}
70,{"label":"Background depth (Laplace)","type":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"python_type":{"type":"Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any))","description":""},"component":"Image"},{"label":"Target mask (shifted)","type":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"python_type":{"type":"Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any))","description":""},"component":"Image"},{"label":"Target depth (Z-buffer)","type":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"python_type":{"type":"Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any))","description":""},"component":"Image"},{"label":"value_30","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Markdown"}],"show_api":true},"/do_move":{"parameters":[{"label":"ΔZ (depth offset)","parameter_name":"delta_z","parameter_has_default":true,"parameter_default":0.0,"type":{"type":"number","description":"numeric value between -1.0 and 1.0"},"python_type":{"type":"float","description":"numeric value between -1.0 and 1.0"},"component":"Slider","example_input":-1.0},{"label":"Scale factor","parameter_name":"scale","parameter_has_default":true,"parameter_default":1.0,"type":{"type":"number","description":"numeric value between 0.6 and 1.4"},"python_type":{"type":"float","description":"numeric value between 0.6 and 1.4"},"component":"Slider","example_input":0.6},{"label":"Prompt","parameter_name":"prompt","parameter_has_default":true,"parameter_default":"Move the object indicated by the mask to the new location, keeping the rest of the scene unchanged.","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox","example_input":"Hello!!"}],"returns":[{"label":"Final result","type":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"python_type":{"type":"Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream
70: bool, meta: Dict(str, Any))","description":""},"component":"Image"},{"label":"Source depth (MoGe-2)","type":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"python_type":{"type":"Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any))","description":""},"component":"Image"},{"label":"Background depth (Laplace)","type":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"python_type":{"type":"Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any))","description":""},"component":"Image"},{"label":"Target mask (shifted)","type":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"python_type":{"type":"Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any))","description":""},"component":"Image"},{"label":"Target depth (Z-buffer)","type":{"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":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"required":["path"],"title":"FileData","type":"object"},"python_type":{"type":"Dict(path: str, url: str | None, size: int | None, orig_name: str | None, mime_type: str | None, is_stream: bool, meta: Dict(str, Any))","description":""},"component":"Image"},{"label":"value_30","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Markdown"}],"show_api":true}},"unnamed_endpoints":{}};</script>
70
71
72		<link rel="preconnect" href="https://fonts.googleapis.com" />
73		<link
74			rel="preconnect"
75			href="https://fonts.gstatic.com"
76			crossorigin="anonymous"
77		/>
78		
78<script
79			src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"
80			async
81		></script>
81
82		
82<script type="module" crossorigin src="./assets/index-BQPjLIsY.js"></script>
82
83		<link rel="stylesheet" crossorigin href="./assets/index-BOW2xVAS.css">
84	</head>
85
86	<body
87		style="
88			width: 100%;
89			margin: 0;
90			padding: 0;
91			display: flex;
92			flex-direction: column;
93			flex-grow: 1;
94		"
95	>
96		<gradio-app
97			control_page_title="true"
98			embed="false"
99			eager="true"
100			style="display: flex; flex-direction: column; flex-grow: 1"
101		>
102		</gradio-app>
103		
103<script>
104			const ce = document.getElementsByTagName("gradio-app");
105
106			if (ce[0]) {
107				ce[0].addEventListener("domchange", () => {
108					document.body.style.padding = "0";
109				});
110				document.body.style.padding = "0";
111			}
112		</script>
112
113	</body>
114</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.