PageSourceSearch

https://yakhyo-uniface.hf.space/

html yakhyo-uniface.hf.space collected 2026-10-03 17:31:35 UTC 353,014 bytes, 131 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="UniFace Demo" />
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="UniFace Demo" />
69		<meta
70			name="twitter:description"
71			content=""
72		/>
73		<meta name="twitter:image" content="" />
74
75		
75<script>window.gradio_config = {"version":"5.46.0","api_prefix":"/gradio_api","mode":"blocks","app_id":4880434019082744387,"dev_mode":false,"vibe_mode":false,"analytics_enabled":true,"components":[{"id":1,"type":"markdown","props":{"value":"\u003cdiv style=\"text-align: center;\"\u003e\u003ch1 style=\"margin: 0;\"\u003eUniFace\u003c/h1\u003e\u003ch3 style=\"margin: 4px 0 0;\"\u003eAll-in-One Face Analysis Library\u003c/h3\u003e\u003cp style=\"margin: 4px 0 8px;\"\u003ev4.0.0 \u0026nbsp;·\u0026nbsp; Fast, lightweight, production-ready\u003c/p\u003e\u003cp style=\"margin: 0;\"\u003eFace Detection · Recognition · Landmarks · Face Mesh · Parsing · Gaze · Head Pose · Portrait Matting · Tracking · Demography · Emotion · Face States · Quality · Anti-Spoofing · Anonymization\u003c/p\u003e\u003cp style=\"margin: 8px 0 0;\"\u003e\u003ca href=\"https://github.com/yakhyo/uniface\" target=\"_blank\"\u003e⭐ Star on GitHub\u003c/a\u003e \u0026nbsp;·\u0026nbsp; \u003ca href=\"https://pypi.org/project/uniface/\" target=\"_blank\"\u003ePyPI\u003c/a\u003e \u0026nbsp;·\u0026nbsp; \u003ca href=\"https://yakhyo.github.io/uniface/\" target=\"_blank\"\u003eDocs\u003c/a\u003e \u0026nbsp;·\u0026nbsp; \u003ca href=\"https://www.kaggle.com/yakhyokhuja/code\" target=\"_blank\"\u003eKaggle Notebooks\u003c/a\u003e\u003c/p\u003e\u003c/div\u003e","show_label":false,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"c2f35e73b9c0ffb3ea6b3682c71039be03350e8cd5cf185fdbbc33d52e7a2945","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":2,"type":"tabitem","props":{"label":"Face Detection","visible":true,"interactive":true,"preserved_by_key":[],"name":"tab"},"skip_api":true,"component_class_id":"8ceb480a50807334325f24b3a91000911bf4db795c2f0afa24fc033d7574a964","key":null},{"id":3,"type":"markdown","props":{"value":"Detect faces using multiple detector architectures with adjustable thresholds.","show_label":false,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"c2f35e73b9c0ffb3ea6b3682c71039be03350e8cd5cf185fdbbc33d52e7a2945","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":4,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"bc47bf2e53002b34f9ec79dc4a3052e03866c51adfd499cc985f9fa94a4de216","key":null},{"id":5,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":6,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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
75itle":"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":7,"type":"accordion","props":{"label":"Settings","open":false,"visible":true,"preserved_by_key":[],"name":"accordion"},"skip_api":true,"component_class_id":"68fbff65480149a50fe591fef1948bbaed634b810b18b905b01f834add9fefe5","key":null},{"id":8,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"bc47bf2e53002b34f9ec79dc4a3052e03866c51adfd499cc985f9fa94a4de216","key":null},{"id":9,"type":"dropdown","props":{"choices":[["RetinaFace","RetinaFace"],["SCRFD","SCRFD"],["YOLOv5-Face","YOLOv5-Face"],["YOLOv8-Face","YOLOv8-Face"]],"value":"RetinaFace","type":"value","allow_custom_value":false,"filterable":true,"label":"Detector","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"name":"dropdown","_selectable":false},"skip_api":false,"component_class_id":"e9664f1e3f89d4097f715f35a7182126eb4f07104323707baf348cecd96f5a14","key":null,"api_info":{"type":"string","enum":["RetinaFace","SCRFD","YOLOv5-Face","YOLOv8-Face"]},"api_info_as_input":{"type":"string","enum":["RetinaFace","SCRFD","YOLOv5-Face","YOLOv8-Face"]},"api_info_as_output":{"type":"string","enum":["RetinaFace","SCRFD","YOLOv5-Face","YOLOv8-Face"]},"example_inputs":"RetinaFace"},{"id":10,"type":"dropdown","props":{"choices":[["retinaface_mnet025","retinaface_mnet025"],["retinaface_mnet050","retinaface_mnet050"],["retinaface_mnet_v1","retinaface_mnet_v1"],["retinaface_mnet_v2","retinaface_mnet_v2"],["retinaface_r18","retinaface_r18"],["retinaface_r34","retinaface_r34"],["retinaface_r50","retinaface_r50"]],"value":"retinaface_mnet_v2","type":"value","allow_custom_value":false,"filterable":true,"label":"Model Variant","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"name":"dropdown","_selectable":false},"skip_api":false,"component_class_id":"e9664f1e3f89d4097f715f35a7182126eb4f07104323707baf348cecd96f5a14","key":null,"api_info":{"type":"string","enum":["retinaface_mnet025","retinaface_mnet050","retinaface_mnet_v1","retinaface_mnet_v2","retinaface_r18","retinaface_r34","retinaface_r50"]},"api_info_as_input":{"type":"string","enum":["retinaface_mnet025","retinaface_mnet050","retinaface_mnet_v1","retinaface_mnet_v2","retinaface_r18","retinaface_r34","retinaface_r50"]},"api_info_as_output":{"type":"string","enum":["retinaface_mnet025","retinaface_mnet050","retinaface_mnet_v1","retinaface_mnet_v2","retinaface_r18","retinaface_r34","retinaface_r50"]},"example_inputs":"retinaface_mnet025"},{"id":11,"type":"form","props":{"scale":2,"min_width":320,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":12,"type":"slider","props":{"minimum":0.1,"maximum":1.0,"value":0.5,"step":0.05,"label":"Confidence Threshold","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"show_reset_button":true,"name":"slider","_selectable":false},"skip_api":false,"component_class_id":"4fac1e22b7a09268369f963b49fe99e4de81a3c81c2e82d328f7a2cd38829869","key":null,"api_info":{"type":"number","description":"numeric value between 0.1 and 1.0"},"api_info_as_input":{"type":"number","description":"numeric value between 0.1 and 1.0"},"api_info_as_output":{"type":"number","description":"numeric value between 0.1 and 1.0"},"example_inputs":0.1},{"id":13,"type":"slider","props":{"minimum":0.1,"maximum":1.0,"value":0.4,"step":0.05,"label":"NMS Threshold","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"show_reset_button":true,"name":"slider","_selectable":false},"skip_api":false,"component_class_id":"4fac1e22b7a09268369f963b49fe99e4de81a3c81c2e82d328f7a2cd38829869","key":null,"api_info":{"type":"number","description":"numeric value between 0.1 and 1.0"},"api_info_as_input":{"type":"number","description":"numeric value between 0.1 and 1.0"},"api_info_as_output":{"type":"number","description":"numeric value between 0.1 and 1.0"},"example_inputs":0.1},{"id":14,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":15,"type":"button","props":{"value":"Detect Faces","variant":"primary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"916a16f6d311892cf2877c21810a29477cc4b9945cabc855695ae0cd0c850c4c","key":null},{"id":16,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":17,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Result","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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
75itle":"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":18,"type":"textbox","props":{"type":"text","lines":8,"label":"Results","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"show_copy_button":true,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"ad9c3f714247746291346c2a8132a8d15ab68326a3bb22df88fcb9718ea34ecf","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":19,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":20,"type":"dataset","props":{"label":"Try an example","show_label":true,"component_props":[{"format":"webp","height":null,"width":null,"image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"streaming":false,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"placeholder":null,"show_fullscreen_button":true,"watermark":null},{"choices":[["RetinaFace","RetinaFace"],["SCRFD","SCRFD"],["YOLOv5-Face","YOLOv5-Face"],["YOLOv8-Face","YOLOv8-Face"]],"type":"value","multiselect":null,"allow_custom_value":false,"max_choices":null,"filterable":true,"label":"Detector","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"]},{"choices":[["retinaface_mnet025","retinaface_mnet025"],["retinaface_mnet050","retinaface_mnet050"],["retinaface_mnet_v1","retinaface_mnet_v1"],["retinaface_mnet_v2","retinaface_mnet_v2"],["retinaface_r18","retinaface_r18"],["retinaface_r34","retinaface_r34"],["retinaface_r50","retinaface_r50"]],"type":"value","multiselect":null,"allow_custom_value":false,"max_choices":null,"filterable":true,"label":"Model Variant","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"]},{"minimum":0.1,"maximum":1.0,"step":0.05,"precision":null,"label":"Confidence Threshold","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"show_reset_button":true},{"minimum":0.1,"maximum":1.0,"step":0.05,"precision":null,"label":"NMS Threshold","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"show_reset_button":true}],"samples":[[{"path":"/tmp/gradio/f276c2d20b849690b99bf9eaa6b4fdb1c6d47d2acdb07ff0458d5b905f30d6a1/group.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/f276c2d20b849690b99bf9eaa6b4fdb1c6d47d2acdb07ff0458d5b905f30d6a1/group.jpg","size":null,"orig_name":"group.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"RetinaFace","retinaface_mnet_v2",0.5,0.4],[{"path":"/tmp/gradio/b0701f076cf9f62b69e19ee478005d273e900be560f533bbd099d169834bda5b/crowd.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/b0701f076cf9f62b69e19ee478005d273e900be560f533bbd099d169834bda5b/crowd.jpg","size":null,"orig_name":"crowd.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"RetinaFace","retinaface_r50",0.3,0.4]],"headers":["Input Image","Detector","Model V
75ariant","Confidence Threshold","NMS Threshold"],"type":"tuple","samples_per_page":10,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"container":true,"min_width":160,"name":"dataset","_selectable":false,"components":["image","dropdown","dropdown","slider","slider"],"component_ids":[6,9,10,12,13]},"skip_api":false,"component_class_id":"f5ff9d9e1e06b75d80e078609de1bae4de82d768098014757d08b08e5b302c14","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},{"id":21,"type":"tabitem","props":{"label":"Face Verification","visible":true,"interactive":true,"preserved_by_key":[],"name":"tab"},"skip_api":true,"component_class_id":"8ceb480a50807334325f24b3a91000911bf4db795c2f0afa24fc033d7574a964","key":null},{"id":22,"type":"markdown","props":{"value":"Compare two faces to determine if they belong to the same person.","show_label":false,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"c2f35e73b9c0ffb3ea6b3682c71039be03350e8cd5cf185fdbbc33d52e7a2945","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":23,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"bc47bf2e53002b34f9ec79dc4a3052e03866c51adfd499cc985f9fa94a4de216","key":null},{"id":24,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":25,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Image A","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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"}
75],"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":26,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Image B","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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","t
75itle":"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":27,"type":"accordion","props":{"label":"Settings","open":false,"visible":true,"preserved_by_key":[],"name":"accordion"},"skip_api":true,"component_class_id":"68fbff65480149a50fe591fef1948bbaed634b810b18b905b01f834add9fefe5","key":null},{"id":28,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"bc47bf2e53002b34f9ec79dc4a3052e03866c51adfd499cc985f9fa94a4de216","key":null},{"id":29,"type":"dropdown","props":{"choices":[["ArcFace","ArcFace"],["AdaFace","AdaFace"],["EdgeFace","EdgeFace"],["MobileFace","MobileFace"],["SphereFace","SphereFace"]],"value":"ArcFace","type":"value","allow_custom_value":false,"filterable":true,"label":"Recognizer","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"name":"dropdown","_selectable":false},"skip_api":false,"component_class_id":"e9664f1e3f89d4097f715f35a7182126eb4f07104323707baf348cecd96f5a14","key":null,"api_info":{"type":"string","enum":["ArcFace","AdaFace","EdgeFace","MobileFace","SphereFace"]},"api_info_as_input":{"type":"string","enum":["ArcFace","AdaFace","EdgeFace","MobileFace","SphereFace"]},"api_info_as_output":{"type":"string","enum":["ArcFace","AdaFace","EdgeFace","MobileFace","SphereFace"]},"example_inputs":"ArcFace"},{"id":30,"type":"dropdown","props":{"choices":[["arcface_mnet","arcface_mnet"],["arcface_resnet","arcface_resnet"]],"value":"arcface_resnet","type":"value","allow_custom_value":false,"filterable":true,"label":"Model Variant","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"name":"dropdown","_selectable":false},"skip_api":false,"component_class_id":"e9664f1e3f89d4097f715f35a7182126eb4f07104323707baf348cecd96f5a14","key":null,"api_info":{"type":"string","enum":["arcface_mnet","arcface_resnet"]},"api_info_as_input":{"type":"string","enum":["arcface_mnet","arcface_resnet"]},"api_info_as_output":{"type":"string","enum":["arcface_mnet","arcface_resnet"]},"example_inputs":"arcface_mnet"},{"id":31,"type":"form","props":{"scale":2,"min_width":320,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":32,"type":"button","props":{"value":"Verify","variant":"primary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"916a16f6d311892cf2877c21810a29477cc4b9945cabc855695ae0cd0c850c4c","key":null},{"id":33,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":34,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"bc47bf2e53002b34f9ec79dc4a3052e03866c51adfd499cc985f9fa94a4de216","key":null},{"id":35,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Aligned Face A","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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
75itle":"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":36,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Aligned Face B","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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"}
75],"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":37,"type":"textbox","props":{"type":"text","lines":5,"label":"Results","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"show_copy_button":true,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"ad9c3f714247746291346c2a8132a8d15ab68326a3bb22df88fcb9718ea34ecf","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":38,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":39,"type":"dataset","props":{"label":"Try an example","show_label":true,"component_props":[{"format":"webp","height":null,"width":null,"image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Image A","show_label":true,"show_download_button":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"streaming":false,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"placeholder":null,"show_fullscreen_button":true,"watermark":null},{"format":"webp","height":null,"width":null,"image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Image B","
75show_label":true,"show_download_button":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"streaming":false,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"placeholder":null,"show_fullscreen_button":true,"watermark":null},{"choices":[["ArcFace","ArcFace"],["AdaFace","AdaFace"],["EdgeFace","EdgeFace"],["MobileFace","MobileFace"],["SphereFace","SphereFace"]],"type":"value","multiselect":null,"allow_custom_value":false,"max_choices":null,"filterable":true,"label":"Recognizer","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"]},{"choices":[["arcface_mnet","arcface_mnet"],["arcface_resnet","arcface_resnet"]],"type":"value","multiselect":null,"allow_custom_value":false,"max_choices":null,"filterable":true,"label":"Model Variant","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"]}],"samples":[[{"path":"/tmp/gradio/cb54a5edb2951f0239ab6a25bdaf4747ae80521fe2e1a61eb2eb8fdefbf58b66/einstein_1921.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/cb54a5edb2951f0239ab6a25bdaf4747ae80521fe2e1a61eb2eb8fdefbf58b66/einstein_1921.jpg","size":null,"orig_name":"einstein_1921.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},{"path":"/tmp/gradio/db657a1499c017419c380250da8185252a7ee365dc94d0b94f2a2f6b74fdad95/einstein_1947.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/db657a1499c017419c380250da8185252a7ee365dc94d0b94f2a2f6b74fdad95/einstein_1947.jpg","size":null,"orig_name":"einstein_1947.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"ArcFace","arcface_resnet"],[{"path":"/tmp/gradio/bc1088e21457d309fe7cbefaa0f371bc9ea0c21ef890b0fdd583f6d35e8030c0/bohr_1910.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/bc1088e21457d309fe7cbefaa0f371bc9ea0c21ef890b0fdd583f6d35e8030c0/bohr_1910.jpg","size":null,"orig_name":"bohr_1910.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},{"path":"/tmp/gradio/9bb0052249f98f2c3efaefee3b948d6599dfb1bc6efe516d779a9f0f7acee5b5/bohr_1935.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/9bb0052249f98f2c3efaefee3b948d6599dfb1bc6efe516d779a9f0f7acee5b5/bohr_1935.jpg","size":null,"orig_name":"bohr_1935.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"ArcFace","arcface_resnet"],[{"path":"/tmp/gradio/cb54a5edb2951f0239ab6a25bdaf4747ae80521fe2e1a61eb2eb8fdefbf58b66/einstein_1921.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/cb54a5edb2951f0239ab6a25bdaf4747ae80521fe2e1a61eb2eb8fdefbf58b66/einstein_1921.jpg","size":null,"orig_name":"einstein_1921.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},{"path":"/tmp/gradio/47ae0a9182f7032139f58c971d0cf09a62c1d903e24ab4e0fe6e2ed81a048419/curie.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/47ae0a9182f7032139f58c971d0cf09a62c1d903e24ab4e0fe6e2ed81a048419/curie.jpg","size":null,"orig_name":"curie.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"ArcFace","arcface_resnet"]],"headers":["Image A","Image B","Recognizer","Model Variant"],"type":"tuple","samples_per_page":10,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"container":true,"min_width":160,"name":"dataset","_selectable":false,"components":["image","image","dropdown","dropdown"],"component_ids":[25,26,29,30]},"skip_api":false,"component_class_id":"f5ff9d9e1e06b75d80e078609de1bae4de82d768098014757d08b08e5b302c14","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},{"id":40,"type":"tabitem","props":{"label":"Face Analysis","visible":true,"interactive":true,"preserved_by_key":[],"name":"tab"},"skip_api":true,"component_class_id":"8ceb480a50807334325f24b3a91000911bf4db795c2f0afa24fc033d7574a964","key":null},{"id":41,"type":"markdown","props":{"value":"Predict age, gender, and race attributes for each detected face.","show_label":false,"rtl":false,"latex_delimiters":[{"left"
75:"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"c2f35e73b9c0ffb3ea6b3682c71039be03350e8cd5cf185fdbbc33d52e7a2945","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":42,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"bc47bf2e53002b34f9ec79dc4a3052e03866c51adfd499cc985f9fa94a4de216","key":null},{"id":43,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":44,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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"}
75],"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":45,"type":"accordion","props":{"label":"Settings","open":false,"visible":true,"preserved_by_key":[],"name":"accordion"},"skip_api":true,"component_class_id":"68fbff65480149a50fe591fef1948bbaed634b810b18b905b01f834add9fefe5","key":null},{"id":46,"type":"radio","props":{"choices":[["AgeGender","AgeGender"],["FairFace","FairFace"]],"value":"AgeGender","type":"value","label":"Attribute Model","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"name":"radio","_selectable":false},"skip_api":false,"component_class_id":"112db8570d794fa26decdf4f78c1582d4b272e0f664857db79971379947254a0","key":null,"api_info":{"enum":["AgeGender","FairFace"],"title":"Radio","type":"string"},"api_info_as_input":{"enum":["AgeGender","FairFace"],"title":"Radio","type":"string"},"api_info_as_output":{"enum":["AgeGender","FairFace"],"title":"Radio","type":"string"},"example_inputs":"AgeGender"},{"id":47,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":48,"type":"button","props":{"value":"Analyze","variant":"primary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"916a16f6d311892cf2877c21810a29477cc4b9945cabc855695ae0cd0c850c4c","key":null},{"id":49,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":50,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Result","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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","t
75itle":"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":51,"type":"textbox","props":{"type":"text","lines":8,"label":"Attributes","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"show_copy_button":true,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"ad9c3f714247746291346c2a8132a8d15ab68326a3bb22df88fcb9718ea34ecf","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":52,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":53,"type":"dataset","props":{"label":"Try an example","show_label":true,"component_props":[{"format":"webp","height":null,"width":null,"image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"streaming":false,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"placeholder":null,"show_fullscreen_button":true,"watermark":null},{"choices":[["AgeGender","AgeGender"],["FairFace","FairFace"]],"type":"value","label":"Attribute Model","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"rtl":false}],"samples":[[{"path":"/tmp/gradio/debbf09b36f5583377c9dcc2828e27b0012f05add3e8859323a0c16830058c7b/child.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/debbf09b36f5583377c9dcc2828e27b0012f05add3e8859323a0c16830058c7b/child.jpg","size":null,"orig_name":"child.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"AgeGender"],[{"path":"/tmp/gradio/d13ddcd6ae170a38a56a358a066d12e3d5f4ecb4cbb0b6dd14a8976fa63a06ed/adult.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/d13ddcd6ae170a38a56a358a066d12e3d5f4ecb4cbb0b6dd14a8976fa63a06ed/adult.jpg","size":null,"orig_name":"adult.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"FairFace"],[{"path":"/tmp/gradio/4ab3da808257995acad9ff142fb1936307f5acf06f2954a3088035228f105b02/middle.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/4ab3da808257995acad9ff142fb1936307f5acf06f2954a3088035228f105b02/middle.jpg","size":null,"orig_name":"middle.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"AgeGender"],[{"path":"/tmp/gradio/d5c5ac0c256b3a47fea16eda108e714c5490e2381a9494e8b02419c28bf62050/senior.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/d5c5ac0c256b3a47fea16eda108e714c5490e2381a9494e8b02419c28bf62050/senior.jpg","size":null,"orig_name":"senior.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"FairFace"]],"headers":["Input Image","Attribute Model"],"type":"tuple","samples_per_page":10,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"container":true,"min_width":160,"name":"dataset","_selectable":false,"components":["image","radio"],"component_ids":[44,46]},"skip_api":false,"component_class_id":"f5ff9d9e1e06b75d80e078609de1bae4de82d768098014757d08b08e5b302c14","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},{"id":54,"type":"tabitem","props":{"label":"Landmarks","visible":true,"interactive":true,"preserved_by_key":[],"name":"tab"},"skip_api":true,"component_class_id":"8ceb480a50807334325f24b3a91000911bf4db795c2f0afa24fc033d7574a964","key":null},{"id":55,"type":"markdown","props":{"value":"Sparse facial keypoints at three densities. 106-point comes from InsightFace 2d106det; the 98- and 68-point sets come from PIPNet.","show_label":false,"rtl":false,"latex_delimiters":[{"left"
75:"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"c2f35e73b9c0ffb3ea6b3682c71039be03350e8cd5cf185fdbbc33d52e7a2945","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":56,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"bc47bf2e53002b34f9ec79dc4a3052e03866c51adfd499cc985f9fa94a4de216","key":null},{"id":57,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":58,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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"}
75],"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":59,"type":"accordion","props":{"label":"Settings","open":false,"visible":true,"preserved_by_key":[],"name":"accordion"},"skip_api":true,"component_class_id":"68fbff65480149a50fe591fef1948bbaed634b810b18b905b01f834add9fefe5","key":null},{"id":60,"type":"dropdown","props":{"choices":[["106-point — 2d106det","106-point — 2d106det"],["98-point — PIPNet (WFLW)","98-point — PIPNet (WFLW)"],["68-point — PIPNet (300W)","68-point — PIPNet (300W)"]],"value":"106-point — 2d106det","type":"value","allow_custom_value":false,"filterable":true,"label":"Landmark Model","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"name":"dropdown","_selectable":false},"skip_api":false,"component_class_id":"e9664f1e3f89d4097f715f35a7182126eb4f07104323707baf348cecd96f5a14","key":null,"api_info":{"type":"string","enum":["106-point — 2d106det","98-point — PIPNet (WFLW)","68-point — PIPNet (300W)"]},"api_info_as_input":{"type":"string","enum":["106-point — 2d106det","98-point — PIPNet (WFLW)","68-point — PIPNet (300W)"]},"api_info_as_output":{"type":"string","enum":["106-point — 2d106det","98-point — PIPNet (WFLW)","68-point — PIPNet (300W)"]},"example_inputs":"106-point — 2d106det"},{"id":61,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":62,"type":"button","props":{"value":"Detect Landmarks","variant":"primary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"916a16f6d311892cf2877c21810a29477cc4b9945cabc855695ae0cd0c850c4c","key":null},{"id":63,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":64,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Result","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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","t
75itle":"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":65,"type":"textbox","props":{"type":"text","lines":8,"label":"Landmarks","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"show_copy_button":true,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"ad9c3f714247746291346c2a8132a8d15ab68326a3bb22df88fcb9718ea34ecf","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":66,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":67,"type":"dataset","props":{"label":"Try an example","show_label":true,"component_props":[{"format":"webp","height":null,"width":null,"image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"streaming":false,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"placeholder":null,"show_fullscreen_button":true,"watermark":null},{"choices":[["106-point — 2d106det","106-point — 2d106det"],["98-point — PIPNet (WFLW)","98-point — PIPNet (WFLW)"],["68-point — PIPNet (300W)","68-point — PIPNet (300W)"]],"type":"value","multiselect":null,"allow_custom_value":false,"max_choices":null,"filterable":true,"label":"Landmark Model","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"]}],"samples":[[{"path":"/tmp/gradio/6db0372f161867987252a7e04fd27d467ff71767222ea81120a46436b5832c69/face.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/6db0372f161867987252a7e04fd27d467ff71767222ea81120a46436b5832c69/face.jpg","size":null,"orig_name":"face.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"106-point — 2d106det"],[{"path":"/tmp/gradio/6db0372f161867987252a7e04fd27d467ff71767222ea81120a46436b5832c69/face.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/6db0372f161867987252a7e04fd27d467ff71767222ea81120a46436b5832c69/face.jpg","size":null,"orig_name":"face.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"98-point — PIPNet (WFLW)"],[{"path":"/tmp/gradio/6db0372f161867987252a7e04fd27d467ff71767222ea81120a46436b5832c69/face.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/6db0372f161867987252a7e04fd27d467ff71767222ea81120a46436b5832c69/face.jpg","size":null,"orig_name":"face.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"68-point — PIPNet (300W)"]],"headers":["Input Image","Landmark Model"],"type":"tuple","samples_per_page":10,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"container":true,"min_width":160,"name":"dataset","_selectable":false,"components":["image","dropdown"],"component_ids":[58,60]},"skip_api":false,"component_class_id":"f5ff9d9e1e06b75d80e078609de1bae4de82d768098014757d08b08e5b302c14","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},{"id":68,"type":"tabitem","props":{"label":"Face Mesh","visible":true,"interactive":true,"preserved_by_key":[],"name":"tab"},"skip_api":true,"component_class_id":"8ceb480a50807334325f24b3a91000911bf4db795c2f0afa24fc033d7574a964","key":null},{"id":69,"type":"markdown","props":{"value":"Dense MediaPipe face mesh. The 468-point model is the classic Face Mesh; the 478-point Face Landmarker adds ten iris points, drawn separately in red.","show_label":false,"rtl":false,"latex_delimiters":[{"left"
75:"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"c2f35e73b9c0ffb3ea6b3682c71039be03350e8cd5cf185fdbbc33d52e7a2945","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":70,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"bc47bf2e53002b34f9ec79dc4a3052e03866c51adfd499cc985f9fa94a4de216","key":null},{"id":71,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":72,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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"}
75],"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":73,"type":"accordion","props":{"label":"Settings","open":false,"visible":true,"preserved_by_key":[],"name":"accordion"},"skip_api":true,"component_class_id":"68fbff65480149a50fe591fef1948bbaed634b810b18b905b01f834add9fefe5","key":null},{"id":74,"type":"dropdown","props":{"choices":[["468-point — Face Mesh","468-point — Face Mesh"],["478-point — Face Landmarker (+ irises)","478-point — Face Landmarker (+ irises)"]],"value":"468-point — Face Mesh","type":"value","allow_custom_value":false,"filterable":true,"label":"Mesh Model","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"name":"dropdown","_selectable":false},"skip_api":false,"component_class_id":"e9664f1e3f89d4097f715f35a7182126eb4f07104323707baf348cecd96f5a14","key":null,"api_info":{"type":"string","enum":["468-point — Face Mesh","478-point — Face Landmarker (+ irises)"]},"api_info_as_input":{"type":"string","enum":["468-point — Face Mesh","478-point — Face Landmarker (+ irises)"]},"api_info_as_output":{"type":"string","enum":["468-point — Face Mesh","478-point — Face Landmarker (+ irises)"]},"example_inputs":"468-point — Face Mesh"},{"id":75,"type":"radio","props":{"choices":[["partial","partial"],["full","full"],["points","points"]],"value":"partial","type":"value","label":"Draw Mode","info":"\u0027full\u0027 renders the 2556-edge tessellation — detailed but heavy.","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"name":"radio","_selectable":false},"skip_api":false,"component_class_id":"112db8570d794fa26decdf4f78c1582d4b272e0f664857db79971379947254a0","key":null,"api_info":{"enum":["partial","full","points"],"title":"Radio","type":"string"},"api_info_as_input":{"enum":["partial","full","points"],"title":"Radio","type":"string"},"api_info_as_output":{"enum":["partial","full","points"],"title":"Radio","type":"string"},"example_inputs":"partial"},{"id":76,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":77,"type":"button","props":{"value":"Predict Mesh","variant":"primary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"916a16f6d311892cf2877c21810a29477cc4b9945cabc855695ae0cd0c850c4c","key":null},{"id":78,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":79,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Result","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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
75itle":"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":80,"type":"textbox","props":{"type":"text","lines":8,"label":"Mesh Info","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"show_copy_button":true,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"ad9c3f714247746291346c2a8132a8d15ab68326a3bb22df88fcb9718ea34ecf","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":81,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":82,"type":"dataset","props":{"label":"Try an example","show_label":true,"component_props":[{"format":"webp","height":null,"width":null,"image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"streaming":false,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"placeholder":null,"show_fullscreen_button":true,"watermark":null},{"choices":[["468-point — Face Mesh","468-point — Face Mesh"],["478-point — Face Landmarker (+ irises)","478-point — Face Landmarker (+ irises)"]],"type":"value","multiselect":null,"allow_custom_value":false,"max_choices":null,"filterable":true,"label":"Mesh Model","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"]},{"choices":[["partial","partial"],["full","full"],["points","points"]],"type":"value","label":"Draw Mode","info":"\u0027full\u0027 renders the 2556-edge tessellation — detailed but heavy.","show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"rtl":false}],"samples":[[{"path":"/tmp/gradio/c9bf2a962bb09bdf6e5060f9fabb0c9bcbd62e21cc6cc3bb991dccdec5d0de20/face.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/c9bf2a962bb09bdf6e5060f9fabb0c9bcbd62e21cc6cc3bb991dccdec5d0de20/face.jpg","size":null,"orig_name":"face.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"468-point — Face Mesh","partial"],[{"path":"/tmp/gradio/c9bf2a962bb09bdf6e5060f9fabb0c9bcbd62e21cc6cc3bb991dccdec5d0de20/face.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/c9bf2a962bb09bdf6e5060f9fabb0c9bcbd62e21cc6cc3bb991dccdec5d0de20/face.jpg","size":null,"orig_name":"face.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"478-point — Face Landmarker (+ irises)","points"],[{"path":"/tmp/gradio/c9bf2a962bb09bdf6e5060f9fabb0c9bcbd62e21cc6cc3bb991dccdec5d0de20/face.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/c9bf2a962bb09bdf6e5060f9fabb0c9bcbd62e21cc6cc3bb991dccdec5d0de20/face.jpg","size":null,"orig_name":"face.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"468-point — Face Mesh","full"]],"headers":["Input Image","Mesh Model","Draw Mode"],"type":"tuple","samples_per_page":10,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"container":true,"min_width":160,"name":"dataset","_selectable":false,"components":["image","dropdown","radio"],"component_ids":[72,74,75]},"skip_api":false,"component_class_id":"f5ff9d9e1e06b75d80e078609de1bae4de82d768098014757d08b08e5b302c14","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},{"id":83,"type":"tabitem","props":{"label":"Emotion","visible":true,"interactive":true,"preserved_by_key":[],"name":"tab"},"skip_api":true,"component_class_id":"8ceb480a50807334325f24b3a91000911bf4db795c2f0afa24fc033d7574a964","key":null},{"id":84,"type":"markdown","props":{"value":"Recognize facial expression per face. AffectNet-7 covers neutral, happy, sad, surprise, fear, disgust and anger; AffectNet-8 adds contempt.","show_label":false,"rtl":false,"latex_delimiters":[{"left"
75:"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"c2f35e73b9c0ffb3ea6b3682c71039be03350e8cd5cf185fdbbc33d52e7a2945","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":85,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"bc47bf2e53002b34f9ec79dc4a3052e03866c51adfd499cc985f9fa94a4de216","key":null},{"id":86,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":87,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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"}
75],"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":88,"type":"accordion","props":{"label":"Settings","open":false,"visible":true,"preserved_by_key":[],"name":"accordion"},"skip_api":true,"component_class_id":"68fbff65480149a50fe591fef1948bbaed634b810b18b905b01f834add9fefe5","key":null},{"id":89,"type":"radio","props":{"choices":[["AffectNet-7","AffectNet-7"],["AffectNet-8","AffectNet-8"]],"value":"AffectNet-7","type":"value","label":"Emotion Model","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"name":"radio","_selectable":false},"skip_api":false,"component_class_id":"112db8570d794fa26decdf4f78c1582d4b272e0f664857db79971379947254a0","key":null,"api_info":{"enum":["AffectNet-7","AffectNet-8"],"title":"Radio","type":"string"},"api_info_as_input":{"enum":["AffectNet-7","AffectNet-8"],"title":"Radio","type":"string"},"api_info_as_output":{"enum":["AffectNet-7","AffectNet-8"],"title":"Radio","type":"string"},"example_inputs":"AffectNet-7"},{"id":90,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":91,"type":"button","props":{"value":"Predict Emotion","variant":"primary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"916a16f6d311892cf2877c21810a29477cc4b9945cabc855695ae0cd0c850c4c","key":null},{"id":92,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":93,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Result","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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","t
75itle":"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":94,"type":"textbox","props":{"type":"text","lines":8,"label":"Emotions","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"show_copy_button":true,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"ad9c3f714247746291346c2a8132a8d15ab68326a3bb22df88fcb9718ea34ecf","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":95,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":96,"type":"dataset","props":{"label":"Try an example","show_label":true,"component_props":[{"format":"webp","height":null,"width":null,"image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"streaming":false,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"placeholder":null,"show_fullscreen_button":true,"watermark":null},{"choices":[["AffectNet-7","AffectNet-7"],["AffectNet-8","AffectNet-8"]],"type":"value","label":"Emotion Model","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"rtl":false}],"samples":[[{"path":"/tmp/gradio/045f7c8ade6ed43e2732e05d869d7eb939b638765ca7c6d94c0e22f3d9c9f6ce/happy.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/045f7c8ade6ed43e2732e05d869d7eb939b638765ca7c6d94c0e22f3d9c9f6ce/happy.jpg","size":null,"orig_name":"happy.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"AffectNet-7"],[{"path":"/tmp/gradio/1aa2bf314098ffa454392801026ed22a434aa93f416661cd82bcc47271e4cee0/sad.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/1aa2bf314098ffa454392801026ed22a434aa93f416661cd82bcc47271e4cee0/sad.jpg","size":null,"orig_name":"sad.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"AffectNet-7"],[{"path":"/tmp/gradio/f268a75f5dbd5104aed21841f978769615b27e3016d159faad26852cf299fefc/angry.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/f268a75f5dbd5104aed21841f978769615b27e3016d159faad26852cf299fefc/angry.jpg","size":null,"orig_name":"angry.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"AffectNet-7"],[{"path":"/tmp/gradio/2af23361bd93b4a0c2abe27079fc5bddfe8fbb18fcb69ecead4093beda7d9745/surprise.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/2af23361bd93b4a0c2abe27079fc5bddfe8fbb18fcb69ecead4093beda7d9745/surprise.jpg","size":null,"orig_name":"surprise.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"AffectNet-7"],[{"path":"/tmp/gradio/498eac5bef5a84aa585fe669a6bf8aee875b05ed558d7cd2c0508e398b1d132b/neutral.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/498eac5bef5a84aa585fe669a6bf8aee875b05ed558d7cd2c0508e398b1d132b/neutral.jpg","size":null,"orig_name":"neutral.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"AffectNet-7"],[{"path":"/tmp/gradio/23eadcf6f7f527c4cca1548db01504c0246dbfeb90c9760d623e51be2ed2b32b/fear.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/23eadcf6f7f527c4cca1548db01504c0246dbfeb90c9760d623e51be2ed2b32b/fear.jpg","size":null,"orig_name":"fear.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"AffectNet-7"],[{"path":"/tmp/gradio/cd5797d98be53546480c84551567e67871683c98ad069cd4857563bb6d86e3b2/contempt.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/cd5797d98be53546480c84551567e67871683c98ad069cd4857563bb6d86e3b2/contempt.jpg","size":null,"orig_name":"contempt.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"AffectNet-8"]],"headers":["Input Image","Emotion Model"],"type":"tuple","samples_per_page":10,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"container":true,"min_width":160,"name":"dataset","_selectable":false,"components":["image","radio"],"component_ids":[87,89]},"skip_api":false,"component_class_id":"f5ff9d9e1e06b75d80e078609de1bae4de82d768098014757d08b08e5b302c14","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},{"id":97,"type":"tabitem","props":{"label":"Face States","visible":true,"interactive":true,"preserved_by_key":[],"name":"tab"},"skip_api":true,"component_class_id":"8ceb480a50807334325f24b3a91000911bf4db795c2f0afa24fc033d7574a964","key":null},{"id":98,"type":"markdown","props":{"value":"Five independent binary attributes per face: left/right eye open, eyeglasses, sunglasses, and face mask. Each has 
75its own classifier head, so several can be high at once — every attribute is thresholded separately.","show_label":false,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"c2f35e73b9c0ffb3ea6b3682c71039be03350e8cd5cf185fdbbc33d52e7a2945","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":99,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"bc47bf2e53002b34f9ec79dc4a3052e03866c51adfd499cc985f9fa94a4de216","key":null},{"id":100,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":101,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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","t
75itle":"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":102,"type":"accordion","props":{"label":"Settings","open":false,"visible":true,"preserved_by_key":[],"name":"accordion"},"skip_api":true,"component_class_id":"68fbff65480149a50fe591fef1948bbaed634b810b18b905b01f834add9fefe5","key":null},{"id":103,"type":"slider","props":{"minimum":0.05,"maximum":0.95,"value":0.5,"step":0.05,"label":"Attribute Threshold","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"show_reset_button":true,"name":"slider","_selectable":false},"skip_api":false,"component_class_id":"4fac1e22b7a09268369f963b49fe99e4de81a3c81c2e82d328f7a2cd38829869","key":null,"api_info":{"type":"number","description":"numeric value between 0.05 and 0.95"},"api_info_as_input":{"type":"number","description":"numeric value between 0.05 and 0.95"},"api_info_as_output":{"type":"number","description":"numeric value between 0.05 and 0.95"},"example_inputs":0.05},{"id":104,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":105,"type":"button","props":{"value":"Predict States","variant":"primary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"916a16f6d311892cf2877c21810a29477cc4b9945cabc855695ae0cd0c850c4c","key":null},{"id":106,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":107,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Result","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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","t
75itle":"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":108,"type":"textbox","props":{"type":"text","lines":10,"label":"Face States","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"show_copy_button":true,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"ad9c3f714247746291346c2a8132a8d15ab68326a3bb22df88fcb9718ea34ecf","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":109,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":110,"type":"dataset","props":{"label":"Try an example","show_label":true,"component_props":[{"format":"webp","height":null,"width":null,"image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"streaming":false,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"placeholder":null,"show_fullscreen_button":true,"watermark":null},{"minimum":0.05,"maximum":0.95,"step":0.05,"precision":null,"label":"Attribute Threshold","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"show_reset_button":true}],"samples":[[{"path":"/tmp/gradio/cd306f0354b501515c039859973f81f43fcf9f5ace24ccc4dc19249fd71621d6/glasses.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/cd306f0354b501515c039859973f81f43fcf9f5ace24ccc4dc19249fd71621d6/glasses.jpg","size":null,"orig_name":"glasses.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},0.5],[{"path":"/tmp/gradio/268798c11d42aa0e6068ea35bf7acfed829bd98ff018790dc6de515b9352f9b6/sunglasses.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/268798c11d42aa0e6068ea35bf7acfed829bd98ff018790dc6de515b9352f9b6/sunglasses.jpg","size":null,"orig_name":"sunglasses.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},0.5],[{"path":"/tmp/gradio/661f5a2b8a349fd5e48992758604f1ffcf16979c4ac4a6ba2b5e394fd8e426aa/mask.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/661f5a2b8a349fd5e48992758604f1ffcf16979c4ac4a6ba2b5e394fd8e426aa/mask.jpg","size":null,"orig_name":"mask.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},0.5],[{"path":"/tmp/gradio/b2cdb1d7cf7080a4c1780e3d5d80dcc56d2fb37129f0ad223207dcce2eb25d12/eyes_closed.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/b2cdb1d7cf7080a4c1780e3d5d80dcc56d2fb37129f0ad223207dcce2eb25d12/eyes_closed.jpg","size":null,"orig_name":"eyes_closed.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},0.5],[{"path":"/tmp/gradio/355e364ae25aaa11f77b6b731e0325a7831135e32d38832897cd04cbf8828dc9/glasses_alt.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/355e364ae25aaa11f77b6b731e0325a7831135e32d38832897cd04cbf8828dc9/glasses_alt.jpg","size":null,"orig_name":"glasses_alt.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},0.5],[{"path":"/tmp/gradio/6597932512aea9e50182bb9e307e7f478d08dfaa0f3e2a3dec8fd5e2bacbd27a/sunglasses_alt.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/6597932512aea9e50182bb9e307e7f478d08dfaa0f3e2a3dec8fd5e2bacbd27a/sunglasses_alt.jpg","size":null,"orig_name":"sunglasses_alt.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},0.5],[{"path":"/tmp/gradio/8d78aaa9b4513fe3b6e570a548f2adb088b813e767768e38db45c9e4243811c7/mask_alt.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/8d78aaa9b4513fe3b6e570a548f2adb088b813e767768e38db45c9e4243811c7/mask_alt.jpg","size":null,"orig_name":"mask_alt.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},0.5]],"headers":["Input Image","Attribute Threshold"],"type":"tuple","samples_per_page":10,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"container":true,"min_width":160,"name":"dataset","_selectable":false,"components":["image","slider"],"component_ids":[101,103]}
75,"skip_api":false,"component_class_id":"f5ff9d9e1e06b75d80e078609de1bae4de82d768098014757d08b08e5b302c14","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},{"id":111,"type":"tabitem","props":{"label":"Face Quality","visible":true,"interactive":true,"preserved_by_key":[],"name":"tab"},"skip_api":true,"component_class_id":"8ceb480a50807334325f24b3a91000911bf4db795c2f0afa24fc033d7574a964","key":null},{"id":112,"type":"markdown","props":{"value":"Score each face for recognition suitability with eDifFIQA. Higher is better; labels are red below 0.3, orange to 0.6, green above.","show_label":false,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"c2f35e73b9c0ffb3ea6b3682c71039be03350e8cd5cf185fdbbc33d52e7a2945","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":113,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"bc47bf2e53002b34f9ec79dc4a3052e03866c51adfd499cc985f9fa94a4de216","key":null},{"id":114,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":115,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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"}
75],"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":116,"type":"accordion","props":{"label":"Settings","open":false,"visible":true,"preserved_by_key":[],"name":"accordion"},"skip_api":true,"component_class_id":"68fbff65480149a50fe591fef1948bbaed634b810b18b905b01f834add9fefe5","key":null},{"id":117,"type":"dropdown","props":{"choices":[["T — MobileFaceNet (1.7M)","T — MobileFaceNet (1.7M)"],["S — IResNet-18 (24.6M)","S — IResNet-18 (24.6M)"],["M — IResNet-50 (44.1M)","M — IResNet-50 (44.1M)"],["L — IResNet-100 (65.7M)","L — IResNet-100 (65.7M)"]],"value":"T — MobileFaceNet (1.7M)","type":"value","allow_custom_value":false,"filterable":true,"label":"Model Size","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"name":"dropdown","_selectable":false},"skip_api":false,"component_class_id":"e9664f1e3f89d4097f715f35a7182126eb4f07104323707baf348cecd96f5a14","key":null,"api_info":{"type":"string","enum":["T — MobileFaceNet (1.7M)","S — IResNet-18 (24.6M)","M — IResNet-50 (44.1M)","L — IResNet-100 (65.7M)"]},"api_info_as_input":{"type":"string","enum":["T — MobileFaceNet (1.7M)","S — IResNet-18 (24.6M)","M — IResNet-50 (44.1M)","L — IResNet-100 (65.7M)"]},"api_info_as_output":{"type":"string","enum":["T — MobileFaceNet (1.7M)","S — IResNet-18 (24.6M)","M — IResNet-50 (44.1M)","L — IResNet-100 (65.7M)"]},"example_inputs":"T — MobileFaceNet (1.7M)"},{"id":118,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":119,"type":"button","props":{"value":"Score Quality","variant":"primary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"916a16f6d311892cf2877c21810a29477cc4b9945cabc855695ae0cd0c850c4c","key":null},{"id":120,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":121,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Result","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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
75itle":"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":122,"type":"textbox","props":{"type":"text","lines":8,"label":"Quality Scores","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"show_copy_button":true,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"ad9c3f714247746291346c2a8132a8d15ab68326a3bb22df88fcb9718ea34ecf","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":123,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":124,"type":"dataset","props":{"label":"Try an example","show_label":true,"component_props":[{"format":"webp","height":null,"width":null,"image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"streaming":false,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"placeholder":null,"show_fullscreen_button":true,"watermark":null},{"choices":[["T — MobileFaceNet (1.7M)","T — MobileFaceNet (1.7M)"],["S — IResNet-18 (24.6M)","S — IResNet-18 (24.6M)"],["M — IResNet-50 (44.1M)","M — IResNet-50 (44.1M)"],["L — IResNet-100 (65.7M)","L — IResNet-100 (65.7M)"]],"type":"value","multiselect":null,"allow_custom_value":false,"max_choices":null,"filterable":true,"label":"Model Size","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"]}],"samples":[[{"path":"/tmp/gradio/f276c2d20b849690b99bf9eaa6b4fdb1c6d47d2acdb07ff0458d5b905f30d6a1/group.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/f276c2d20b849690b99bf9eaa6b4fdb1c6d47d2acdb07ff0458d5b905f30d6a1/group.jpg","size":null,"orig_name":"group.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"T — MobileFaceNet (1.7M)"],[{"path":"/tmp/gradio/bc1088e21457d309fe7cbefaa0f371bc9ea0c21ef890b0fdd583f6d35e8030c0/vintage.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/bc1088e21457d309fe7cbefaa0f371bc9ea0c21ef890b0fdd583f6d35e8030c0/vintage.jpg","size":null,"orig_name":"vintage.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"L — IResNet-100 (65.7M)"],[{"path":"/tmp/gradio/8dceb894f491118a49a4cc02f9c76664538e5e7d2112a8d7b540a5bc9b71bb2a/screen.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/8dceb894f491118a49a4cc02f9c76664538e5e7d2112a8d7b540a5bc9b71bb2a/screen.jpg","size":null,"orig_name":"screen.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"T — MobileFaceNet (1.7M)"]],"headers":["Input Image","Model Size"],"type":"tuple","samples_per_page":10,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"container":true,"min_width":160,"name":"dataset","_selectable":false,"components":["image","dropdown"],"component_ids":[115,117]},"skip_api":false,"component_class_id":"f5ff9d9e1e06b75d80e078609de1bae4de82d768098014757d08b08e5b302c14","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},{"id":125,"type":"tabitem","props":{"label":"Face Parsing","visible":true,"interactive":true,"preserved_by_key":[],"name":"tab"},"skip_api":true,"component_class_id":"8ceb480a50807334325f24b3a91000911bf4db795c2f0afa24fc033d7574a964","key":null},{"id":126,"type":"markdown","props":{"value":"Segment facial components (skin, eyes, nose, hair, etc.) into 19 semantic classes.","show_label":false,"rtl":false,"latex_delimiters":[{"left"
75:"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"c2f35e73b9c0ffb3ea6b3682c71039be03350e8cd5cf185fdbbc33d52e7a2945","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":127,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"bc47bf2e53002b34f9ec79dc4a3052e03866c51adfd499cc985f9fa94a4de216","key":null},{"id":128,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":129,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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"}
75],"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":130,"type":"accordion","props":{"label":"Settings","open":false,"visible":true,"preserved_by_key":[],"name":"accordion"},"skip_api":true,"component_class_id":"68fbff65480149a50fe591fef1948bbaed634b810b18b905b01f834add9fefe5","key":null},{"id":131,"type":"radio","props":{"choices":[["BiSeNet (ResNet18) — 19 classes","BiSeNet (ResNet18) — 19 classes"],["BiSeNet (ResNet34) — 19 classes","BiSeNet (ResNet34) — 19 classes"],["XSeg — face mask","XSeg — face mask"]],"value":"BiSeNet (ResNet18) — 19 classes","type":"value","label":"Parsing Model","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"name":"radio","_selectable":false},"skip_api":false,"component_class_id":"112db8570d794fa26decdf4f78c1582d4b272e0f664857db79971379947254a0","key":null,"api_info":{"enum":["BiSeNet (ResNet18) — 19 classes","BiSeNet (ResNet34) — 19 classes","XSeg — face mask"],"title":"Radio","type":"string"},"api_info_as_input":{"enum":["BiSeNet (ResNet18) — 19 classes","BiSeNet (ResNet34) — 19 classes","XSeg — face mask"],"title":"Radio","type":"string"},"api_info_as_output":{"enum":["BiSeNet (ResNet18) — 19 classes","BiSeNet (ResNet34) — 19 classes","XSeg — face mask"],"title":"Radio","type":"string"},"example_inputs":"BiSeNet (ResNet18) — 19 classes"},{"id":132,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":133,"type":"button","props":{"value":"Parse Faces","variant":"primary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"916a16f6d311892cf2877c21810a29477cc4b9945cabc855695ae0cd0c850c4c","key":null},{"id":134,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":135,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Segmentation Result","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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"}
75],"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":136,"type":"textbox","props":{"type":"text","lines":10,"label":"Parsing Results","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"show_copy_button":true,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"ad9c3f714247746291346c2a8132a8d15ab68326a3bb22df88fcb9718ea34ecf","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":137,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":138,"type":"dataset","props":{"label":"Try an example","show_label":true,"component_props":[{"format":"webp","height":null,"width":null,"image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"streaming":false,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"placeholder":null,"show_fullscreen_button":true,"watermark":null},{"choices":[["BiSeNet (ResNet18) — 19 classes","BiSeNet (ResNet18) — 19 classes"],["BiSeNet (ResNet34) — 19 classes","BiSeNet (ResNet34) — 19 classes"],["XSeg — face mask","XSeg — face mask"]],"type":"value","label":"Parsing Model","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"rtl":false}],"samples":[[{"path":"/tmp/gradio/3af799d0a557a12372f550b2a6b61481fbb8c2d3edcfe348eeb1ab3094526e9c/face.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/3af799d0a557a12372f550b2a6b61481fbb8c2d3edcfe348eeb1ab3094526e9c/face.jpg","size":null,"orig_name":"face.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"BiSeNet (ResNet18) — 19 classes"],[{"path":"/tmp/gradio/69a6092baa282374c60b7f1e193b0687296d1cb3f48de31d9665ea62ffb2f14a/portrait.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/69a6092baa282374c60b7f1e193b0687296d1cb3f48de31d9665ea62ffb2f14a/portrait.jpg","size":null,"orig_name":"portrait.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"BiSeNet (ResNet18) — 19 classes"],[{"path":"/tmp/gradio/ec5f6646d80d3f03ac7725444a7c25ce54fc8415165cc2ca17c9725aa5e8f40e/occluded.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/ec5f6646d80d3f03ac7725444a7c25ce54fc8415165cc2ca17c9725aa5e8f40e/occluded.jpg","size":null,"orig_name":"occluded.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"XSeg — face mask"]],"headers":["Input Image","Parsing Model"],"type":"tuple","samples_per_page":10,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"container":true,"min_width":160,"name":"dataset","_selectable":false,"components":["image","radio"],"component_ids":[129,131]},"skip_api":false,"component_class_id":"f5ff9d9e1e06b75d80e078609de1bae4de82d768098014757d08b08e5b302c14","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},{"id":139,"type":"tabitem","props":{"label":"Gaze Estimation","visible":true,"interactive":true,"preserved_by_key":[],"name":"tab"},"skip_api":true,"component_class_id":"8ceb480a50807334325f24b3a91000911bf4db795c2f0afa24fc033d7574a964","key":null},{"id":140,"type":"markdown","props":{"value":"Estimate where each person is looking by predicting pitch and yaw gaze angles.","show_label":false,"rtl":false,"latex_delimiters":[{"left"
75:"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"c2f35e73b9c0ffb3ea6b3682c71039be03350e8cd5cf185fdbbc33d52e7a2945","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":141,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"bc47bf2e53002b34f9ec79dc4a3052e03866c51adfd499cc985f9fa94a4de216","key":null},{"id":142,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":143,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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"}
75],"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":144,"type":"accordion","props":{"label":"Settings","open":false,"visible":true,"preserved_by_key":[],"name":"accordion"},"skip_api":true,"component_class_id":"68fbff65480149a50fe591fef1948bbaed634b810b18b905b01f834add9fefe5","key":null},{"id":145,"type":"dropdown","props":{"choices":[["ResNet18","ResNet18"],["ResNet34","ResNet34"],["ResNet50","ResNet50"],["MobileNetV2","MobileNetV2"],["MobileOne-S0","MobileOne-S0"]],"value":"ResNet34","type":"value","allow_custom_value":false,"filterable":true,"label":"Backbone","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"name":"dropdown","_selectable":false},"skip_api":false,"component_class_id":"e9664f1e3f89d4097f715f35a7182126eb4f07104323707baf348cecd96f5a14","key":null,"api_info":{"type":"string","enum":["ResNet18","ResNet34","ResNet50","MobileNetV2","MobileOne-S0"]},"api_info_as_input":{"type":"string","enum":["ResNet18","ResNet34","ResNet50","MobileNetV2","MobileOne-S0"]},"api_info_as_output":{"type":"string","enum":["ResNet18","ResNet34","ResNet50","MobileNetV2","MobileOne-S0"]},"example_inputs":"ResNet18"},{"id":146,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":147,"type":"button","props":{"value":"Estimate Gaze","variant":"primary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"916a16f6d311892cf2877c21810a29477cc4b9945cabc855695ae0cd0c850c4c","key":null},{"id":148,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":149,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Result","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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","t
75itle":"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":150,"type":"textbox","props":{"type":"text","lines":6,"label":"Gaze Angles","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"show_copy_button":true,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"ad9c3f714247746291346c2a8132a8d15ab68326a3bb22df88fcb9718ea34ecf","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":151,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":152,"type":"dataset","props":{"label":"Try an example","show_label":true,"component_props":[{"format":"webp","height":null,"width":null,"image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"streaming":false,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"placeholder":null,"show_fullscreen_button":true,"watermark":null},{"choices":[["ResNet18","ResNet18"],["ResNet34","ResNet34"],["ResNet50","ResNet50"],["MobileNetV2","MobileNetV2"],["MobileOne-S0","MobileOne-S0"]],"type":"value","multiselect":null,"allow_custom_value":false,"max_choices":null,"filterable":true,"label":"Backbone","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"]}],"samples":[[{"path":"/tmp/gradio/83cb1fcedb109426aa6e5cff7b1ac352f1400a56b91173066e44b7bcfd20fe2e/averted.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/83cb1fcedb109426aa6e5cff7b1ac352f1400a56b91173066e44b7bcfd20fe2e/averted.jpg","size":null,"orig_name":"averted.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"ResNet34"],[{"path":"/tmp/gradio/69c83212bb9b4dc99632f6cff7a93a055f4c2dada77d62d8092275ae58dcc196/away.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/69c83212bb9b4dc99632f6cff7a93a055f4c2dada77d62d8092275ae58dcc196/away.jpg","size":null,"orig_name":"away.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"ResNet34"],[{"path":"/tmp/gradio/480271f6d8dddc54aa51f09b029d90f94e4f1e2c78679b944d38765c857a7fda/right.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/480271f6d8dddc54aa51f09b029d90f94e4f1e2c78679b944d38765c857a7fda/right.jpg","size":null,"orig_name":"right.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"ResNet18"]],"headers":["Input Image","Backbone"],"type":"tuple","samples_per_page":10,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"container":true,"min_width":160,"name":"dataset","_selectable":false,"components":["image","dropdown"],"component_ids":[143,145]},"skip_api":false,"component_class_id":"f5ff9d9e1e06b75d80e078609de1bae4de82d768098014757d08b08e5b302c14","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},{"id":153,"type":"tabitem","props":{"label":"Head Pose","visible":true,"interactive":true,"preserved_by_key":[],"name":"tab"},"skip_api":true,"component_class_id":"8ceb480a50807334325f24b3a91000911bf4db795c2f0afa24fc033d7574a964","key":null},{"id":154,"type":"markdown","props":{"value":"Estimate yaw, pitch, and roll of the head and visualize as a 3D cube or axis.","show_label":false,"rtl":false,"latex_delimiters":[{"left"
75:"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"c2f35e73b9c0ffb3ea6b3682c71039be03350e8cd5cf185fdbbc33d52e7a2945","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":155,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"bc47bf2e53002b34f9ec79dc4a3052e03866c51adfd499cc985f9fa94a4de216","key":null},{"id":156,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":157,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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"}
75],"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":158,"type":"accordion","props":{"label":"Settings","open":false,"visible":true,"preserved_by_key":[],"name":"accordion"},"skip_api":true,"component_class_id":"68fbff65480149a50fe591fef1948bbaed634b810b18b905b01f834add9fefe5","key":null},{"id":159,"type":"dropdown","props":{"choices":[["ResNet18","ResNet18"],["ResNet34","ResNet34"],["ResNet50","ResNet50"],["MobileNetV2","MobileNetV2"],["MobileNetV3-Small","MobileNetV3-Small"],["MobileNetV3-Large","MobileNetV3-Large"]],"value":"ResNet18","type":"value","allow_custom_value":false,"filterable":true,"label":"Backbone","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"name":"dropdown","_selectable":false},"skip_api":false,"component_class_id":"e9664f1e3f89d4097f715f35a7182126eb4f07104323707baf348cecd96f5a14","key":null,"api_info":{"type":"string","enum":["ResNet18","ResNet34","ResNet50","MobileNetV2","MobileNetV3-Small","MobileNetV3-Large"]},"api_info_as_input":{"type":"string","enum":["ResNet18","ResNet34","ResNet50","MobileNetV2","MobileNetV3-Small","MobileNetV3-Large"]},"api_info_as_output":{"type":"string","enum":["ResNet18","ResNet34","ResNet50","MobileNetV2","MobileNetV3-Small","MobileNetV3-Large"]},"example_inputs":"ResNet18"},{"id":160,"type":"radio","props":{"choices":[["cube","cube"],["axis","axis"]],"value":"cube","type":"value","label":"Visualization","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"name":"radio","_selectable":false},"skip_api":false,"component_class_id":"112db8570d794fa26decdf4f78c1582d4b272e0f664857db79971379947254a0","key":null,"api_info":{"enum":["cube","axis"],"title":"Radio","type":"string"},"api_info_as_input":{"enum":["cube","axis"],"title":"Radio","type":"string"},"api_info_as_output":{"enum":["cube","axis"],"title":"Radio","type":"string"},"example_inputs":"cube"},{"id":161,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":162,"type":"button","props":{"value":"Estimate Head Pose","variant":"primary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"916a16f6d311892cf2877c21810a29477cc4b9945cabc855695ae0cd0c850c4c","key":null},{"id":163,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":164,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Result","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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
75itle":"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":165,"type":"textbox","props":{"type":"text","lines":8,"label":"Pose Angles","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"show_copy_button":true,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"ad9c3f714247746291346c2a8132a8d15ab68326a3bb22df88fcb9718ea34ecf","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":166,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":167,"type":"dataset","props":{"label":"Try an example","show_label":true,"component_props":[{"format":"webp","height":null,"width":null,"image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"streaming":false,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"placeholder":null,"show_fullscreen_button":true,"watermark":null},{"choices":[["ResNet18","ResNet18"],["ResNet34","ResNet34"],["ResNet50","ResNet50"],["MobileNetV2","MobileNetV2"],["MobileNetV3-Small","MobileNetV3-Small"],["MobileNetV3-Large","MobileNetV3-Large"]],"type":"value","multiselect":null,"allow_custom_value":false,"max_choices":null,"filterable":true,"label":"Backbone","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"]},{"choices":[["cube","cube"],["axis","axis"]],"type":"value","label":"Visualization","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"rtl":false}],"samples":[[{"path":"/tmp/gradio/c8c39415fbfc981a217f24d45f4bc794389eeb93fada259badd2f6f0a0b2f23c/center.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/c8c39415fbfc981a217f24d45f4bc794389eeb93fada259badd2f6f0a0b2f23c/center.jpg","size":null,"orig_name":"center.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"ResNet18","cube"],[{"path":"/tmp/gradio/8bdfcff0f66d8a37642ec273069482ebc89f6dedb16c130d6a81a9ac92b5cafd/left.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/8bdfcff0f66d8a37642ec273069482ebc89f6dedb16c130d6a81a9ac92b5cafd/left.jpg","size":null,"orig_name":"left.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"ResNet18","axis"],[{"path":"/tmp/gradio/494a1c532b039f9ae0e0d78081b77fa447e991f8b34f37e9688ac2fe7afe08b9/right.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/494a1c532b039f9ae0e0d78081b77fa447e991f8b34f37e9688ac2fe7afe08b9/right.jpg","size":null,"orig_name":"right.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"MobileNetV2","cube"]],"headers":["Input Image","Backbone","Visualization"],"type":"tuple","samples_per_page":10,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"container":true,"min_width":160,"name":"dataset","_selectable":false,"components":["image","dropdown","radio"],"component_ids":[157,159,160]},"skip_api":false,"component_class_id":"f5ff9d9e1e06b75d80e078609de1bae4de82d768098014757d08b08e5b302c14","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},{"id":168,"type":"tabitem","props":{"label":"Anti-Spoofing","visible":true,"interactive":true,"preserved_by_key":[],"name":"tab"},"skip_api":true,"component_class_id":"8ceb480a50807334325f24b3a91000911bf4db795c2f0afa24fc033d7574a964","key":null},{"id":169,"type":"markdown","props":{"value":"Determine whether a face is real (live) or a spoof (printed photo, screen replay).","show_label":false,"rtl":false,"latex_delimiters":[{"left"
75:"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"c2f35e73b9c0ffb3ea6b3682c71039be03350e8cd5cf185fdbbc33d52e7a2945","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":170,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"bc47bf2e53002b34f9ec79dc4a3052e03866c51adfd499cc985f9fa94a4de216","key":null},{"id":171,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":172,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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"}
75],"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":173,"type":"accordion","props":{"label":"Settings","open":false,"visible":true,"preserved_by_key":[],"name":"accordion"},"skip_api":true,"component_class_id":"68fbff65480149a50fe591fef1948bbaed634b810b18b905b01f834add9fefe5","key":null},{"id":174,"type":"radio","props":{"choices":[["V1SE","V1SE"],["V2","V2"]],"value":"V2","type":"value","label":"Model Variant","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"name":"radio","_selectable":false},"skip_api":false,"component_class_id":"112db8570d794fa26decdf4f78c1582d4b272e0f664857db79971379947254a0","key":null,"api_info":{"enum":["V1SE","V2"],"title":"Radio","type":"string"},"api_info_as_input":{"enum":["V1SE","V2"],"title":"Radio","type":"string"},"api_info_as_output":{"enum":["V1SE","V2"],"title":"Radio","type":"string"},"example_inputs":"V1SE"},{"id":175,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":176,"type":"button","props":{"value":"Check Liveness","variant":"primary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"916a16f6d311892cf2877c21810a29477cc4b9945cabc855695ae0cd0c850c4c","key":null},{"id":177,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":178,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Result","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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","t
75itle":"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":179,"type":"textbox","props":{"type":"text","lines":6,"label":"Verdict","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"show_copy_button":true,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"ad9c3f714247746291346c2a8132a8d15ab68326a3bb22df88fcb9718ea34ecf","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":180,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":181,"type":"dataset","props":{"label":"Try an example","show_label":true,"component_props":[{"format":"webp","height":null,"width":null,"image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"streaming":false,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"placeholder":null,"show_fullscreen_button":true,"watermark":null},{"choices":[["V1SE","V1SE"],["V2","V2"]],"type":"value","label":"Model Variant","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"rtl":false}],"samples":[[{"path":"/tmp/gradio/c62e6f4c6d39873ee7724749a0125d1927d8ce1736256764043cd866e509709d/live.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/c62e6f4c6d39873ee7724749a0125d1927d8ce1736256764043cd866e509709d/live.jpg","size":null,"orig_name":"live.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"V2"],[{"path":"/tmp/gradio/326850d14df71a07b0cdb74e6fb3edbf327167b768a65b55e8a03b93580fa50d/print.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/326850d14df71a07b0cdb74e6fb3edbf327167b768a65b55e8a03b93580fa50d/print.jpg","size":null,"orig_name":"print.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"V2"],[{"path":"/tmp/gradio/8dceb894f491118a49a4cc02f9c76664538e5e7d2112a8d7b540a5bc9b71bb2a/screen.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/8dceb894f491118a49a4cc02f9c76664538e5e7d2112a8d7b540a5bc9b71bb2a/screen.jpg","size":null,"orig_name":"screen.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}}
75,"V2"]],"headers":["Input Image","Model Variant"],"type":"tuple","samples_per_page":10,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"container":true,"min_width":160,"name":"dataset","_selectable":false,"components":["image","radio"],"component_ids":[172,174]},"skip_api":false,"component_class_id":"f5ff9d9e1e06b75d80e078609de1bae4de82d768098014757d08b08e5b302c14","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},{"id":182,"type":"tabitem","props":{"label":"Portrait Matting","visible":true,"interactive":true,"preserved_by_key":[],"name":"tab"},"skip_api":true,"component_class_id":"8ceb480a50807334325f24b3a91000911bf4db795c2f0afa24fc033d7574a964","key":null},{"id":183,"type":"markdown","props":{"value":"Trimap-free portrait matting with MODNet. Returns a soft alpha matte and composites the foreground over a chosen background.","show_label":false,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"c2f35e73b9c0ffb3ea6b3682c71039be03350e8cd5cf185fdbbc33d52e7a2945","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":184,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"bc47bf2e53002b34f9ec79dc4a3052e03866c51adfd499cc985f9fa94a4de216","key":null},{"id":185,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":186,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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"}
75],"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":187,"type":"accordion","props":{"label":"Settings","open":false,"visible":true,"preserved_by_key":[],"name":"accordion"},"skip_api":true,"component_class_id":"68fbff65480149a50fe591fef1948bbaed634b810b18b905b01f834add9fefe5","key":null},{"id":188,"type":"radio","props":{"choices":[["Photographic","Photographic"],["Webcam","Webcam"]],"value":"Photographic","type":"value","label":"Model Variant","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"name":"radio","_selectable":false},"skip_api":false,"component_class_id":"112db8570d794fa26decdf4f78c1582d4b272e0f664857db79971379947254a0","key":null,"api_info":{"enum":["Photographic","Webcam"],"title":"Radio","type":"string"},"api_info_as_input":{"enum":["Photographic","Webcam"],"title":"Radio","type":"string"},"api_info_as_output":{"enum":["Photographic","Webcam"],"title":"Radio","type":"string"},"example_inputs":"Photographic"},{"id":189,"type":"dropdown","props":{"choices":[["white","white"],["black","black"],["green","green"],["blur","blur"],["alpha","alpha"]],"value":"white","type":"value","allow_custom_value":false,"filterable":true,"label":"Background","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"name":"dropdown","_selectable":false},"skip_api":false,"component_class_id":"e9664f1e3f89d4097f715f35a7182126eb4f07104323707baf348cecd96f5a14","key":null,"api_info":{"type":"string","enum":["white","black","green","blur","alpha"]},"api_info_as_input":{"type":"string","enum":["white","black","green","blur","alpha"]},"api_info_as_output":{"type":"string","enum":["white","black","green","blur","alpha"]},"example_inputs":"white"},{"id":190,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":191,"type":"button","props":{"value":"Run Matting","variant":"primary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"916a16f6d311892cf2877c21810a29477cc4b9945cabc855695ae0cd0c850c4c","key":null},{"id":192,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":193,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Composited Result","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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
75itle":"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":194,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Alpha Matte","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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"}
75],"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":195,"type":"textbox","props":{"type":"text","lines":8,"label":"Details","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"show_copy_button":true,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"ad9c3f714247746291346c2a8132a8d15ab68326a3bb22df88fcb9718ea34ecf","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":196,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":197,"type":"dataset","props":{"label":"Try an example","show_label":true,"component_props":[{"format":"webp","height":null,"width":null,"image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"streaming":false,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"placeholder":null,"show_fullscreen_button":true,"watermark":null},{"choices":[["Photographic","Photographic"],["Webcam","Webcam"]],"type":"value","label":"Model Variant","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"rtl":false},{"choices":[["white","white"],["black","black"],["green","green"],["blur","blur"],["alpha","alpha"]],"type":"value","multiselect":null,"allow_custom_value":false,"max_choices":null,"filterable":true,"label":"Backgroun
75d","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"]}],"samples":[[{"path":"/tmp/gradio/baa834fde472c0cd90084861076cfdf1e384a999c6484ce8155e6fe1a2ea8fe1/face.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/baa834fde472c0cd90084861076cfdf1e384a999c6484ce8155e6fe1a2ea8fe1/face.jpg","size":null,"orig_name":"face.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"Photographic","white"],[{"path":"/tmp/gradio/6b56dd9dc1a9b50eb98ed559a5a74fb9ca64500788f328394909db90aaacac36/hair.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/6b56dd9dc1a9b50eb98ed559a5a74fb9ca64500788f328394909db90aaacac36/hair.jpg","size":null,"orig_name":"hair.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"Photographic","blur"]],"headers":["Input Image","Model Variant","Background"],"type":"tuple","samples_per_page":10,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"container":true,"min_width":160,"name":"dataset","_selectable":false,"components":["image","radio","dropdown"],"component_ids":[186,188,189]},"skip_api":false,"component_class_id":"f5ff9d9e1e06b75d80e078609de1bae4de82d768098014757d08b08e5b302c14","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},{"id":198,"type":"tabitem","props":{"label":"Face Tracking","visible":true,"interactive":true,"preserved_by_key":[],"name":"tab"},"skip_api":true,"component_class_id":"8ceb480a50807334325f24b3a91000911bf4db795c2f0afa24fc033d7574a964","key":null},{"id":199,"type":"markdown","props":{"value":"Multi-face tracking on a short video using ByteTrack. Each track gets a persistent ID and a unique colour across frames.","show_label":false,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"c2f35e73b9c0ffb3ea6b3682c71039be03350e8cd5cf185fdbbc33d52e7a2945","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":200,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"bc47bf2e53002b34f9ec79dc4a3052e03866c51adfd499cc985f9fa94a4de216","key":null},{"id":201,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":202,"type":"video","props":{"sources":["upload"],"label":"Input Video","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"include_audio":true,"autoplay":false,"show_share_button":true,"loop":false,"streaming":false,"name":"video","_selectable":false},"skip_api":false,"component_class_id":"f3e447aa15ef4f74c1c50a199070c927d03e9e2e4376fc7cfcd034056f296bd2","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
75: 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"}},"properties":{"video":{"$ref":"#/$defs/FileData"},"subtitles":{"anyOf":[{"$ref":"#/$defs/FileData"},{"type":"null"}],"default":null}},"required":["video"],"title":"VideoData","type":"object","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"}},"properties":{"video":{"$ref":"#/$defs/FileData"},"subtitles":{"anyOf":[{"$ref":"#/$defs/FileData"},{"type":"null"}],"default":null}},"required":["video"],"title":"VideoData","type":"object","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"}},"properties":{"video":{"$ref":"#/$defs/FileData"},"subtitles":{"anyOf":[{"$ref":"#/$defs/FileData"},{"type":"null"}],"default":null}},"required":["video"],"title":"VideoData","type":"object","additional_description":null},"example_inputs":{"video":{"path":"https://github.com/gradio-app/gradio/raw/main/demo/video_component/files/world.mp4","meta":{"_type":"gradio.FileData"},"orig_name":"world.mp4","url":"https://github.com/gradio-app/gradio/raw/main/demo/video_component/files/world.mp4"}}},{"id":203,"type":"accordion","props":{"label":"Settings","open":false,"visible":true,"preserved_by_key":[],"name":"accordion"},"skip_api":true,"component_class_id":"68fbff65480149a50fe591fef1948bbaed634b810b18b905b01f834add9fefe5","key":null},{"id":204,"type":"slider","props":{"minimum":0.1,"maximum":0.95,"value":0.5,"step":0.05,"label":"Detection Confidence","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"show_reset_button":true,"name":"slider","_selectable":false},"skip_api":false,"component_class_id":"4fac1e22b7a09268369f963b49fe99e4de81a3c81c2e82d328f7a2cd38829869","key":null,"api_info":{"type":"number","description":"numeric value between 0.1 and 0.95"},"api_info_as_input":{"type":"number","description":"numeric value between 0.1 and 0.95"},"api_info_as_output":{"type":"number","description":"numeric value between 0.1 and 0.95"},"example_inputs":0.1},{"id":205,"type":"slider","props":{"minimum":5,"maximum":90,"value":30,"step":1,"label":"Track Buffer (frames)","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"show_reset_button":true,"name":"slider","_selectable":false},"skip_api":false,"component_class_id":"4fac1e22b7a09268369f963b49fe99e4de81a3c81c2e82d328f7a2cd38829869","key":null,"api_info":{"type":"number","description":"numeric value between 5 and 90"},"api_info_as_input":{"type":"number","description":"numeric value between 5 and 90"},"api_info_as_output":{"type":"number","description":"numeric value between 5 and 90"},"example_inputs":5},{"id":206,"type":"slider","props":{"minimum":0,"maximum":600,"value":300,"step":10,"label":"Max Frames (0 = all)","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"show_reset_button":true,"name":"slider","_selectable":false},"skip_api":false,"component_class_id":"4fac1e22b7a09268369f963b49fe99e4de81a3c81c2e82d328f7a2cd38829869","key":null,"api_info":{"type":"number","description":"numeric value between 0 and 600"},"api_info_as_input":{"type":"number","description":"numeric value between 0 and 600"},"api_info_as_output":{"type":"number","description":"numeric value between 0 and 600"},"example_inputs":0},{"id":207,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":208,"type":"button","props":{"value":"Run Tracking","variant":"primary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"916a16f6d311892cf2877c21810a29477cc4b9945cabc855695ae0cd0c850c4c","key":null},{"id":209,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":210,"type":"video","props":{"sources":["upload","webcam"],"label":"Tracked Result","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"include_audio":true,"autoplay":false,"show_share_button":true,"loop":false,"streaming":false,"name":"video","_selectable":false},"skip_api":false,"component_class_id":"f3e447aa15ef4f74c1c50a199070c927d03e9e2e4376fc7cfcd034056f296bd2","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.\
75n    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"}},"properties":{"video":{"$ref":"#/$defs/FileData"},"subtitles":{"anyOf":[{"$ref":"#/$defs/FileData"},{"type":"null"}],"default":null}},"required":["video"],"title":"VideoData","type":"object","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"}},"properties":{"video":{"$ref":"#/$defs/FileData"},"subtitles":{"anyOf":[{"$ref":"#/$defs/FileData"},{"type":"null"}],"default":null}},"required":["video"],"title":"VideoData","type":"object","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"}},"properties":{"video":{"$ref":"#/$defs/FileData"},"subtitles":{"anyOf":[{"$ref":"#/$defs/FileData"},{"type":"null"}],"default":null}},"required":["video"],"title":"VideoData","type":"object","additional_description":null},"example_inputs":{"video":{"path":"https://github.com/gradio-app/gradio/raw/main/demo/video_component/files/world.mp4","meta":{"_type":"gradio.FileData"},"orig_name":"world.mp4","url":"https://github.com/gradio-app/gradio/raw/main/demo/video_component/files/world.mp4"}}},{"id":211,"type":"textbox","props":{"type":"text","lines":8,"label":"Tracking Stats","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"show_copy_button":true,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"ad9c3f714247746291346c2a8132a8d15ab68326a3bb22df88fcb9718ea34ecf","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":212,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":213,"type":"tabitem","props":{"label":"Face Anonymization","visible":true,"interactive":true,"preserved_by_key":[],"name":"tab"},"skip_api":true,"component_class_id":"8ceb480a50807334325f24b3a91000911bf4db795c2f0afa24fc033d7574a964","key":null},{"id":214,"type":"markdown","props":{"value":"Blur or mask detected faces to protect privacy in images.","show_label":false,"rtl":false,"latex_delimiters":[{"left"
75:"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"show_copy_button":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"c2f35e73b9c0ffb3ea6b3682c71039be03350e8cd5cf185fdbbc33d52e7a2945","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":215,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"bc47bf2e53002b34f9ec79dc4a3052e03866c51adfd499cc985f9fa94a4de216","key":null},{"id":216,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":217,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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"}
75],"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":218,"type":"accordion","props":{"label":"Settings","open":false,"visible":true,"preserved_by_key":[],"name":"accordion"},"skip_api":true,"component_class_id":"68fbff65480149a50fe591fef1948bbaed634b810b18b905b01f834add9fefe5","key":null},{"id":219,"type":"dropdown","props":{"choices":[["gaussian","gaussian"],["pixelate","pixelate"],["median","median"],["blackout","blackout"],["elliptical","elliptical"]],"value":"elliptical","type":"value","allow_custom_value":false,"filterable":true,"label":"Blur Method","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"name":"dropdown","_selectable":false},"skip_api":false,"component_class_id":"e9664f1e3f89d4097f715f35a7182126eb4f07104323707baf348cecd96f5a14","key":null,"api_info":{"type":"string","enum":["gaussian","pixelate","median","blackout","elliptical"]},"api_info_as_input":{"type":"string","enum":["gaussian","pixelate","median","blackout","elliptical"]},"api_info_as_output":{"type":"string","enum":["gaussian","pixelate","median","blackout","elliptical"]},"example_inputs":"gaussian"},{"id":220,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":221,"type":"button","props":{"value":"Anonymize","variant":"primary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"916a16f6d311892cf2877c21810a29477cc4b9945cabc855695ae0cd0c850c4c","key":null},{"id":222,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"show_progress":false,"preserved_by_key":[],"name":"column"},"skip_api":true,"component_class_id":"abb6f91f0285ae025921ca0059cf3a635e9853c8a150095add2066c88630fc09","key":null},{"id":223,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Anonymized","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"show_fullscreen_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"17afd228253cdb73a259336d5cfa758cd1acb1a9eac40e07a0345e1ee8671e7d","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","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_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","t
75itle":"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":224,"type":"textbox","props":{"type":"text","lines":4,"label":"Details","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"show_copy_button":true,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"ad9c3f714247746291346c2a8132a8d15ab68326a3bb22df88fcb9718ea34ecf","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":225,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"7c96e70477dd55732fb1a4bc6696ddcc8ff96faeabe823f8c3311f0d1f92d0eb","key":null},{"id":226,"type":"dataset","props":{"label":"Try an example","show_label":true,"component_props":[{"format":"webp","height":null,"width":null,"image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Input Image","show_label":true,"show_download_button":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"streaming":false,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"],"webcam_options":{"mirror":true,"constraints":null},"show_share_button":true,"placeholder":null,"show_fullscreen_button":true,"watermark":null},{"choices":[["gaussian","gaussian"],["pixelate","pixelate"],["median","median"],["blackout","blackout"],["elliptical","elliptical"]],"type":"value","multiselect":null,"allow_custom_value":false,"max_choices":null,"filterable":true,"label":"Blur Method","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"elem_classes":[],"key":null,"preserved_by_key":["value"]}],"samples":[[{"path":"/tmp/gradio/0b6128b67260251605d4cc9f94a200ec3848b265a550fca78e84ae53561ff137/group.jpg","url":"https://yakhyo-uniface.hf.space/gradio_api/file=/tmp/gradio/0b6128b67260251605d4cc9f94a200ec3848b265a550fca78e84ae53561ff137/group.jpg","size":null,"orig_name":"group.jpg","mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"elliptical"]],"headers":["Input Image","Blur Method"],"type":"tuple","samples_per_page":10,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"container":true,"min_width":160,"name":"dataset","_selectable":false,"components":["image","dropdown"],"component_ids":[217,219]}
75,"skip_api":false,"component_class_id":"f5ff9d9e1e06b75d80e078609de1bae4de82d768098014757d08b08e5b302c14","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},{"id":227,"type":"tabs","props":{"visible":true,"preserved_by_key":[],"name":"tabs"},"skip_api":true,"component_class_id":"09c75f0eb61f20e7fc9c769c6f7a6fa5c820f355ffffdf6b7e4f1f26e737d60c","key":null}],"css":"","connect_heartbeat":false,"js":"","head":"","title":"UniFace Demo","space_id":"yakhyo/uniface","enable_queue":true,"show_error":false,"show_api":false,"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":"2fa39f6df94156f7ef9d84370dbb2657d672827c75f082ac995879c32290c5ca","pwa":true,"pages":[["","Home",true]],"page":{"":{"layout":{"id":0,"children":[{"id":1},{"id":227,"children":[{"id":2,"children":[{"id":3},{"id":4,"children":[{"id":5,"children":[{"id":6},{"id":7,"children":[{"id":8,"children":[{"id":11,"children":[{"id":9},{"id":10}]}]},{"id":14,"children":[{"id":12},{"id":13}]}]},{"id":15}]},{"id":16,"children":[{"id":17},{"id":19,"children":[{"id":18}]}]}]},{"id":20}]},{"id":21,"children":[{"id":22},{"id":23,"children":[{"id":24,"children":[{"id":25},{"id":26},{"id":27,"children":[{"id":28,"children":[{"id":31,"children":[{"id":29},{"id":30}]}]}]},{"id":32}]},{"id":33,"children":[{"id":34,"children":[{"id":35},{"id":36}]},{"id":38,"children":[{"id":37}]}]}]},{"id":39}]},{"id":40,"children":[{"id":41},{"id":42,"children":[{"id":43,"children":[{"id":44},{"id":45,"children":[{"id":47,"children":[{"id":46}]}]},{"id":48}]},{"id":49,"children":[{"id":50},{"id":52,"children":[{"id":51}]}]}]},{"id":53}]},{"id":54,"children":[{"id":55},{"id":56,"children":[{"id":57,"children":[{"id":58},{"id":59,"children":[{"id":61,"children":[{"id":60}]}]},{"id":62}]},{"id":63,"children":[{"id":64},{"id":66,"children":[{"id":65}]}]}]},{"id":67}]},{"id":68,"children":[{"id":69},{"id":70,"children":[{"id":71,"children":[{"id":72},{"id":73,"children":[{"id":76,"children":[{"id":74},{"id":75}]}]},{"id":77}]},{"id":78,"children":[{"id":79},{"id":81,"children":[{"id":80}]}]}]},{"id":82}]},{"id":83,"children":[{"id":84},{"id":85,"children":[{"id":86,"children":[{"id":87},{"id":88,"children":[{"id":90,"children":[{"id":89}]}]},{"id":91}]},{"id":92,"children":[{"id":93},{"id":95,"children":[{"id":94}]}]}]},{"id":96}]},{"id":97,"children":[{"id":98},{"id":99,"children":[{"id":100,"children":[{"id":101},{"id":102,"children":[{"id":104,"children":[{"id":103}]}]},{"id":105}]},{"id":106,"children":[{"id":107},{"id":109,"children":[{"id":108}]}]}]},{"id":110}]},{"id":111,"children":[{"id":112},{"id":113,"children":[{"id":114,"children":[{"id":115},{"id":116,"children":[{"id":118,"children":[{"id":117}]}]},{"id":119}]},{"id":120,"children":[{"id":121},{"id":123,"children":[{"id":122}]}]}]},{"id":124}]},{"id":125,"children":[{"id":126},{"id":127,"children":[{"id":128,"children":[{"id":129},{"id":130,"children":[{"id":132,"children":[{"id":131}]}]},{"id":133}]},{"id":134,"children":[{"id":135},{"id":137,"children":[{"id":136}]}]}]},{"id":138}]},{"id":139,"children":[{"id":140},{"id":141,"children":[{"id":142,"children":[{"id":143},{"id":144,"children":[{"id":146,"children":[{"id":145}]}]},{"id":147}]},{"id":148,"children":[{"id":149},{"id":151,"children":[{"id":150}]}]}]},{"id":152}]},{"id":153,"children":[{"id":154},{"id":155,"children":[{"id":156,"children":[{"id":157},{"id":158,"children":[{"id":161,"children":[{"id":159},{"id":160}]}]},{"id":162}]},{"id":163,"children":[{"id":164},{"id":166,"children":[{"id":165}]}]}]},{"id":167}]},{"id":168,"children":[{"id":169},{"id":170,"children":[{"id":171,"children":[{"id":172},{"id":173,"children":[{"id":175,"children":[{"id":174}]}]},{"id":176}]},{"id":177,"children":[{"id":178},{"id":180,"children":[{"id":179}]}]}]},{"id":181}]},{"id":182,"children":[{"id":183},{"id":184,"children":[{"id":185,"children":[{"id":186},{"id":187,"children":[{"id":190,"children":[{"id":188},{"id":189}]}]},{"id":191}]},{"id":192,"children":[{"id":193},{"id":194},{"id":196,"children":[{"id":195}]}]}]},{"id":197}]},{"id":198,"children":[{"id":199},{"id":200,"children":[{"id":201,"children":[{"id":202},{"id":203,"children":[{"id":207,"children":[{"id":204},{"id":205},{"id":206}]}]},{"id":208}]},{"id":209,"children":[{"id":210},{"id":212,"children":[{"id":211}]}]}]}]},{"id":213,"children":[{"id":214},{"id":215,"children":[{"id":216,"children":[{"id":217},{"id":218,"children":[{"id":220,"children":[{"id":219}]}]},{"id":221}]},{"id":222,"children":[{"id":223},{"id":225,"children":[{"id":224}]}]}]},{"id":226}]}]}]},"components":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227],"dependencies":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]}}
75,"mcp_server":false,"i18n_translations":null,"dependencies":[{"id":0,"targets":[[9,"change"]],"inputs":[9],"outputs":[10],"backend_fn":true,"js":null,"queue":true,"api_name":"_update_detector_variants","api_description":null,"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_only_on_failure":false,"trigger_mode":"always_last","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":1,"targets":[[15,"click"]],"inputs":[6,9,10,12,13],"outputs":[17,18],"backend_fn":true,"js":null,"queue":true,"api_name":"detect_faces_fn","api_description":null,"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_only_on_failure":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":2,"targets":[[20,"click"]],"inputs":[20],"outputs":[6,9,10,12,13],"backend_fn":true,"js":null,"queue":false,"api_name":"load_example","api_description":null,"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_only_on_failure":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":3,"targets":[[29,"change"]],"inputs":[29],"outputs":[30],"backend_fn":true,"js":null,"queue":true,"api_name":"_update_recognizer_variants","api_description":null,"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_only_on_failure":false,"trigger_mode":"always_last","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":[[32,"click"]],"inputs":[25,26,29,30],"outputs":[35,36,37],"backend_fn":true,"js":null,"queue":true,"api_name":"verify_faces_fn","api_description":null,"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_only_on_failure":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":[[39,"click"]],"inputs":[39],"outputs":[25,26,29,30],"backend_fn":true,"js":null,"queue":false,"api_name":"load_example_1","api_description":null,"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_only_on_failure":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":6,"targets":[[48,"click"]],"inputs":[44,46],"outputs":[50,51],"backend_fn":true,"js":null,"queue":true,"api_name":"analyze_faces_fn","api_description":null,"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_only_on_failure":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":7,"targets":[[53,"click"]],"inputs":[53],"outputs":[44,46],"backend_fn":true,"js":null,"queue":false,"api_name":"load_example_2","api_description":null,"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_only_on_failure":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":8,"targets":[[62,"click"]],"inputs":[58,60],"outputs":[64,65],"backend_fn":true,"js":null,"queue":true,"api_name":"landmarks_fn","api_description":null,"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_only_on_failure":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":9,"targets":[[67,"click"]],"inputs":[67],"outputs":[58,60],"backend_fn":true,"js":null,"queue":false,"api_name":"load_example_3","api_description":null,"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_only_on_failure":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":10,"targets":[[77,"click"]],"inputs":[72,74,75],"outputs":[79,80],"backend_fn":true,"js":null,"queue":true,"api_name":"mesh_fn","api_description":null,"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_only_on_failure":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":11,"targets":[[82,"click"]],"inputs":[82],"outputs":[72,74,75],"backend_fn":true,"js":null,"queue":false,"api_name":"load_example_4","api_description":null,"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_only_on_failure":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":12,"targets":[[91,"click"]],"inputs":[87,89],"outputs":[93,94],"backend_fn":true,"js":null,"queue":true,"api_name":"emotion_fn","api_description":null,"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_only_on_failure":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":13,"targets":[[96,"click"]],"inputs":[96],"outputs":[87,89],"backend_fn":true,"js":null,"queue":false,"api_name":"load_example_5","api_description":null,"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_only_on_failure":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":14,"targets":[[105,"click"]],"inputs":[101,103],"outputs":[107,108],"backend_fn":true,"js":null,"queue":true,"api_name":"states_fn","api_description":null,"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_only_on_failure":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":15,"targets":[[110,"click"]],"inputs":[110],"outputs":[101,103],"backend_fn":true,"js":null,"queue":false,"api_name":"load_example_6","api_description":null,"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_only_on_failure":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":16,"targets":[[119,"click"]],"inputs":[115,117],"outputs":[121,122],"backend_fn":true,"js":null,"queue":true,"api_name":"quality_fn","api_description":null,"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_only_on_failure":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":17,"targets":[[124,"click"]],"inputs":[124],"outputs":[115,117],"backend_fn":true,"js":null,"queue":false,"api_name":"load_example_7","api_description":null,"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_only_on_failure":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":18,"targets":[[133,"click"]],"inputs":[129,131],"outputs":[135,136],"backend_fn":true,"js":null,"queue":true,"api_name":"parsing_fn","api_description":null,"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_only_on_failure":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":19,"targets":[[138,"click"]],"inputs":[138],"outputs":[129,131],"backend_fn":true,"js":null,"queue":false,"api_name":"load_example_8","api_description":null,"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_only_on_failure":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":20,"targets":[[147,"click"]],"inputs":[143,145],"outputs":[149,150],"backend_fn":true,"js":null,"queue":true,"api_name":"gaze_fn","api_description":null,"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_only_on_failure":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":21,"targets":[[152,"click"]],"inputs":[152],"outputs":[143,145],"backend_fn":true,"js":null,"queue":false,"api_name":"load_example_9","api_description":null,"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_only_on_failure":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":22,"targets":[[162,"click"]],"inputs":[157,159,160],"outputs":[164,165],"backend_fn":true,"js":null,"queue":true,"api_name":"headpose_fn","api_description":null,"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_only_on_failure":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":23,"targets":[[167,"click"]],"inputs":[167],"outputs":[157,159,160],"backend_fn":true,"js":null,"queue":false,"api_name":"load_example_10","api_description":null,"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_only_on_failure":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":24,"targets":[[176,"click"]],"inputs":[172,174],"outputs":[178,179],"backend_fn":true,"js":null,"queue":true,"api_name":"spoofing_fn","api_description":null,"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_only_on_failure":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":25,"targets":[[181,"click"]],"inputs":[181],"outputs":[172,174],"backend_fn":true,"js":null,"queue":false,"api_name":"load_example_11
75","api_description":null,"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_only_on_failure":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":26,"targets":[[191,"click"]],"inputs":[186,188,189],"outputs":[193,194,195],"backend_fn":true,"js":null,"queue":true,"api_name":"matting_fn","api_description":null,"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_only_on_failure":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":27,"targets":[[197,"click"]],"inputs":[197],"outputs":[186,188,189],"backend_fn":true,"js":null,"queue":false,"api_name":"load_example_12","api_description":null,"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_only_on_failure":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":28,"targets":[[208,"click"]],"inputs":[202,204,205,206],"outputs":[210,211],"backend_fn":true,"js":null,"queue":true,"api_name":"tracking_fn","api_description":null,"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_only_on_failure":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":29,"targets":[[221,"click"]],"inputs":[217,219],"outputs":[223,224],"backend_fn":true,"js":null,"queue":true,"api_name":"anonymize_fn","api_description":null,"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_only_on_failure":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":30,"targets":[[226,"click"]],"inputs":[226],"outputs":[217,219],"backend_fn":true,"js":null,"queue":false,"api_name":"load_example_13","api_description":null,"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_only_on_failure":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}],"layout":{"id":0,"children":[{"id":1},{"id":227,"children":[{"id":2,"children":[{"id":3},{"id":4,"children":[{"id":5,"children":[{"id":6},{"id":7,"children":[{"id":8,"children":[{"id":11,"children":[{"id":9},{"id":10}]}]},{"id":14,"children":[{"id":12},{"id":13}]}]},{"id":15}]},{"id":16,"children":[{"id":17},{"id":19,"children":[{"id":18}]}]}]},{"id":20}]},{"id":21,"children":[{"id":22},{"id":23,"children":[{"id":24,"children":[{"id":25},{"id":26},{"id":27,"children":[{"id":28,"children":[{"id":31,"children":[{"id":29},{"id":30}]}]}]},{"id":32}]},{"id":33,"children":[{"id":34,"children":[{"id":35},{"id":36}]},{"id":38,"children":[{"id":37}]}]}]},{"id":39}]},{"id":40,"children":[{"id":41},{"id":42,"children":[{"id":43,"children":[{"id":44},{"id":45,"children":[{"id":47,"children":[{"id":46}]}]},{"id":48}]},{"id":49,"children":[{"id":50},{"id":52,"children":[{"id":51}]}]}]},{"id":53}]},{"id":54,"children":[{"id":55},{"id":56,"children":[{"id":57,"children":[{"id":58},{"id":59,"children":[{"id":61,"children":[{"id":60}]}]},{"id":62}]},{"id":63,"children":[{"id":64},{"id":66,"children":[{"id":65}]}]}]},{"id":67}]},{"id":68,"children":[{"id":69},{"id":70,"children":[{"id":71,"children":[{"id":72},{"id":73,"children":[{"id":76,"children":[{"id":74},{"id":75}]}]},{"id":77}]},{"id":78,"children":[{"id":79},{"id":81,"children":[{"id":80}]}]}]},{"id":82}]},{"id":83,"children":[{"id":84},{"id":85,"children":[{"id":86,"children":[{"id":87},{"id":88,"children":[{"id":90,"children":[{"id":89}]}]},{"id":91}]},{"id":92,"children":[{"id":93},{"id":95,"children":[{"id":94}]}]}]},{"id":96}]},{"id":97,"children":[{"id":98},{"id":99,"children":[{"id":100,"children":[{"id":101},{"id":102,"children":[{"id":104,"children":[{"id":103}]}]},{"id":105}]},{"id":106,"children":[{"id":107},{"id":109,"children":[{"id":108}]}]}]},{"id":110}]},{"id":111,"children":[{"id":112},{"id":113,"children":[{"id":114,"children":[{"id":115},{"id":116,"children":[{"id":118,"children":[{"id":117}]}]},{"id":119}]},{"id":120,"children":[{"id":121},{"id":123,"children":[{"id":122}]}]}]},{"id":124}]},{"id":125,"children":[{"id":126},{"id":127,"children":[{"id":128,"children":[{"id":129},{"id":130,"children":[{"id":132,"children":[{"id":131}]}]},{"id":133}]},{"id":134,"children":[{"id":135},{"id":137,"children":[{"id":136}]}]}]},{"id":138}]},{"id":139,"children":[{"id":140},{"id":141,"children":[{"id":142,"children":[{"id":143},{"id":144,"children":[{"id":146,"children":[{"id":145}]}]},{"id":147}]},{"id":148,"children":[{"id":149},{"id":151,"children":[{"id":150}]}]}]},{"id":152}]},{"id":153,"children":[{"id":154},{"id":155,"children":[{"id":156,"children":[{"id":157},{"id":158,"children":[{"id":161,"children":[{"id":159},{"id":160}]}]},{"id":162}]},{"id":163,"children":[{"id":164},{"id":166,"children":[{"id":165}]}]}]},{"id":167}]},{"id":168,"children":[{"id":169},{"id":170,"children":[{"id":171,"children":[{"id":172},{"id":173,"children":[{"id":175,"children":[{"id":174}]}]},{"id":176}]},{"id":177,"children":[{"id":178},{"id":180,"children":[{"id":179}]}]}]},{"id":181}]},{"id":182,"children":[{"id":183},{"id":184,"children":[{"id":185,"children":[{"id":186},{"id":187,"children":[{"id":190,"children":[{"id":188},{"id":189}]}]},{"id":191}]},{"id":192,"children":[{"id":193},{"id":194},{"id":196,"children":[{"id":195}]}]}]},{"id":197}]},{"id":198,"children":[{"id":199},{"id":200,"children":[{"id":201,"children":[{"id":202},{"id":203,"children":[{"id":207,"children":[{"id":204},{"id":205},{"id":206}]}]},{"id":208}]},{"id":209,"children":[{"id":210},{"id":212,"children":[{"id":211}]}]}]}]},{"id":213,"children":[{"id":214},{"id":215,"children":[{"id":216,"children":[{"id":217},{"id":218,"children":[{"id":220,"children":[{"id":219}]}]},{"id":221}]},{"id":222,"children":[{"id":223},{"id":225,"children":[{"id":224}]}]}]},{"id":226}]}]}]},"username":null,"deep_link_state":"none","current_page":"","root":"https://yakhyo-uniface.hf.space"};</script>
75<script>window.gradio_api_info = {"named_endpoints":{"/_update_detector_variants":{"parameters":[{"label":"Detector","parameter_name":"detector_family","parameter_has_default":true,"parameter_default":"RetinaFace","type":{"type":"string","enum":["RetinaFace","SCRFD","YOLOv5-Face","YOLOv8-Face"]},"python_type":{"type":"Literal[\u0027RetinaFace\u0027, \u0027SCRFD\u0027, \u0027YOLOv5-Face\u0027, \u0027YOLOv8-Face\u0027]","description":""},"component":"Dropdown","example_input":"RetinaFace"}],"returns":[{"label":"Model Variant","type":{"type":"string","enum":["retinaface_mnet025","retinaface_mnet050","retinaface_mnet_v1","retinaface_mnet_v2","retinaface_r18","retinaface_r34","retinaface_r50"]},"python_type":{"type":"Literal[\u0027retinaface_mnet025\u0027, \u0027retinaface_mnet050\u0027, \u0027retinaface_mnet_v1\u0027, \u0027retinaface_mnet_v2\u0027, \u0027retinaface_r18\u0027, \u0027retinaface_r34\u0027, \u0027retinaface_r50\u0027]","description":""},"component":"Dropdown"}],"show_api":true,"description":""},"/detect_faces_fn":{"parameters":[{"label":"Input Image","parameter_name":"image","parameter_has_default":false,"parameter_default":null,"type":{"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."},"python_type":{"type":"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))","description":"For input, either path or url must be provided. For output, path is always provided."},"component":"Image","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"}},{"label":"Detector","parameter_name":"detector_family","parameter_has_default":true,"parameter_default":"RetinaFace","type":{"type":"string","enum":["RetinaFace","SCRFD","YOLOv5-Face","YOLOv8-Face"]},"python_type":{"type":"Literal[\u0027RetinaFace\u0027, \u0027SCRFD\u0027, \u0027YOLOv5-Face\u0027, \u0027YOLOv8-Face\u0027]","description":""},"component":"Dropdown","example_input":"RetinaFace"},{"label":"Model Variant","parameter_name":"detector_variant","parameter_has_default":true,"parameter_default":"retinaface_mnet_v2","type":{"type":"string","enum":["retinaface_mnet025","retinaface_mnet050","retinaface_mnet_v1","retinaface_mnet_v2","retinaface_r18","retinaface_r34","retinaface_r50"]},"python_type":{"type":"Literal[\u0027retinaface_mnet025\u0027, \u0027retinaface_mnet050\u0027, \u0027retinaface_mnet_v1\u0027, \u0027retinaface_mnet_v2\u0027, \u0027retinaface_r18\u0027, \u0027retinaface_r34\u0027, \u0027retinaface_r50\u0027]","description":""},"component":"Dropdown","example_input":"retinaface_mnet025"},{"label":"Confidence Threshold","parameter_name":"confidence","parameter_has_default":true,"parameter_default":0.5,"type":{"type":"number","description":"numeric value between 0.1 and 1.0"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":0.1},{"label":"NMS Threshold","parameter_name":"nms_threshold","parameter_has_default":true,"parameter_default":0.4,"type":{"type":"number","description":"numeric value between 0.1 and 1.0"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":0.1}],"returns":[{"label":"Result","type":{"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
75itle":"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."},"python_type":{"type":"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))","description":""},"component":"Image"},{"label":"Results","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox"}],"show_api":true,"description":""},"/_update_recognizer_variants":{"parameters":[{"label":"Recognizer","parameter_name":"recognizer_family","parameter_has_default":true,"parameter_default":"ArcFace","type":{"type":"string","enum":["ArcFace","AdaFace","EdgeFace","MobileFace","SphereFace"]},"python_type":{"type":"Literal[\u0027ArcFace\u0027, \u0027AdaFace\u0027, \u0027EdgeFace\u0027, \u0027MobileFace\u0027, \u0027SphereFace\u0027]","description":""},"component":"Dropdown","example_input":"ArcFace"}],"returns":[{"label":"Model Variant","type":{"type":"string","enum":["arcface_mnet","arcface_resnet"]},"python_type":{"type":"Literal[\u0027arcface_mnet\u0027, \u0027arcface_resnet\u0027]","description":""},"component":"Dropdown"}],"show_api":true,"description":""},"/verify_faces_fn":{"parameters":[{"label":"Image A","parameter_name":"image_a","parameter_has_default":false,"parameter_default":null,"type":{"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."},"python_type":{"type":"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))","description":"For input, either path or url must be provided. For output, path is always provided."},"component":"Image","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"}},{"label":"Image B","parameter_name":"image_b","parameter_has_default":false,"parameter_default":null,"type":{"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
75itle":"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."},"python_type":{"type":"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))","description":"For input, either path or url must be provided. For output, path is always provided."},"component":"Image","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"}},{"label":"Recognizer","parameter_name":"recognizer_family","parameter_has_default":true,"parameter_default":"ArcFace","type":{"type":"string","enum":["ArcFace","AdaFace","EdgeFace","MobileFace","SphereFace"]},"python_type":{"type":"Literal[\u0027ArcFace\u0027, \u0027AdaFace\u0027, \u0027EdgeFace\u0027, \u0027MobileFace\u0027, \u0027SphereFace\u0027]","description":""},"component":"Dropdown","example_input":"ArcFace"},{"label":"Model Variant","parameter_name":"recognizer_variant","parameter_has_default":true,"parameter_default":"arcface_resnet","type":{"type":"string","enum":["arcface_mnet","arcface_resnet"]},"python_type":{"type":"Literal[\u0027arcface_mnet\u0027, \u0027arcface_resnet\u0027]","description":""},"component":"Dropdown","example_input":"arcface_mnet"}],"returns":[{"label":"Aligned Face A","type":{"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."},"python_type":{"type":"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))","description":""},"component":"Image"},{"label":"Aligned Face B","type":{"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"}
75],"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."},"python_type":{"type":"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))","description":""},"component":"Image"},{"label":"Results","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox"}],"show_api":true,"description":""},"/analyze_faces_fn":{"parameters":[{"label":"Input Image","parameter_name":"image","parameter_has_default":false,"parameter_default":null,"type":{"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."},"python_type":{"type":"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))","description":"For input, either path or url must be provided. For output, path is always provided."},"component":"Image","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"}},{"label":"Attribute Model","parameter_name":"attr_model","parameter_has_default":true,"parameter_default":"AgeGender","type":{"enum":["AgeGender","FairFace"],"title":"Radio","type":"string"},"python_type":{"type":"Literal[\u0027AgeGender\u0027, \u0027FairFace\u0027]","description":""},"component":"Radio","example_input":"AgeGender"}],"returns":[{"label":"Result","type":{"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."},"python_type":{"type":"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
75: bool (Can always be set to False), meta: dict(str, Any))","description":""},"component":"Image"},{"label":"Attributes","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox"}],"show_api":true,"description":""},"/landmarks_fn":{"parameters":[{"label":"Input Image","parameter_name":"image","parameter_has_default":false,"parameter_default":null,"type":{"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."},"python_type":{"type":"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))","description":"For input, either path or url must be provided. For output, path is always provided."},"component":"Image","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"}},{"label":"Landmark Model","parameter_name":"model_variant","parameter_has_default":true,"parameter_default":"106-point — 2d106det","type":{"type":"string","enum":["106-point — 2d106det","98-point — PIPNet (WFLW)","68-point — PIPNet (300W)"]},"python_type":{"type":"Literal[\u0027106-point — 2d106det\u0027, \u002798-point — PIPNet (WFLW)\u0027, \u002768-point — PIPNet (300W)\u0027]","description":""},"component":"Dropdown","example_input":"106-point — 2d106det"}],"returns":[{"label":"Result","type":{"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."},"python_type":{"type":"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))","description":""},"component":"Image"},{"label":"Landmarks","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox"}],"show_api":true,"description":""},"/mesh_fn":{"parameters":[{"label":"Input Image","parameter_name":"image","parameter_has_default":false,"parameter_default":null,"type":{"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
75itle":"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."},"python_type":{"type":"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))","description":"For input, either path or url must be provided. For output, path is always provided."},"component":"Image","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"}},{"label":"Mesh Model","parameter_name":"model_variant","parameter_has_default":true,"parameter_default":"468-point — Face Mesh","type":{"type":"string","enum":["468-point — Face Mesh","478-point — Face Landmarker (+ irises)"]},"python_type":{"type":"Literal[\u0027468-point — Face Mesh\u0027, \u0027478-point — Face Landmarker (+ irises)\u0027]","description":""},"component":"Dropdown","example_input":"468-point — Face Mesh"},{"label":"Draw Mode","parameter_name":"draw_mode","parameter_has_default":true,"parameter_default":"partial","type":{"enum":["partial","full","points"],"title":"Radio","type":"string"},"python_type":{"type":"Literal[\u0027partial\u0027, \u0027full\u0027, \u0027points\u0027]","description":""},"component":"Radio","example_input":"partial"}],"returns":[{"label":"Result","type":{"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."},"python_type":{"type":"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))","description":""},"component":"Image"},{"label":"Mesh Info","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox"}],"show_api":true,"description":""},"/emotion_fn":{"parameters":[{"label":"Input Image","parameter_name":"image","parameter_has_default":false,"parameter_default":null,"type":{"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
75itle":"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."},"python_type":{"type":"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))","description":"For input, either path or url must be provided. For output, path is always provided."},"component":"Image","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"}},{"label":"Emotion Model","parameter_name":"model_variant","parameter_has_default":true,"parameter_default":"AffectNet-7","type":{"enum":["AffectNet-7","AffectNet-8"],"title":"Radio","type":"string"},"python_type":{"type":"Literal[\u0027AffectNet-7\u0027, \u0027AffectNet-8\u0027]","description":""},"component":"Radio","example_input":"AffectNet-7"}],"returns":[{"label":"Result","type":{"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."},"python_type":{"type":"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))","description":""},"component":"Image"},{"label":"Emotions","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox"}],"show_api":true,"description":""},"/states_fn":{"parameters":[{"label":"Input Image","parameter_name":"image","parameter_has_default":false,"parameter_default":null,"type":{"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"}
75],"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."},"python_type":{"type":"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))","description":"For input, either path or url must be provided. For output, path is always provided."},"component":"Image","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"}},{"label":"Attribute Threshold","parameter_name":"threshold","parameter_has_default":true,"parameter_default":0.5,"type":{"type":"number","description":"numeric value between 0.05 and 0.95"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":0.05}],"returns":[{"label":"Result","type":{"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."},"python_type":{"type":"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))","description":""},"component":"Image"},{"label":"Face States","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox"}],"show_api":true,"description":""},"/quality_fn":{"parameters":[{"label":"Input Image","parameter_name":"image","parameter_has_default":false,"parameter_default":null,"type":{"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."},"python_type":{"type":"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
75: bool (Can always be set to False), meta: dict(str, Any))","description":"For input, either path or url must be provided. For output, path is always provided."},"component":"Image","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"}},{"label":"Model Size","parameter_name":"model_variant","parameter_has_default":true,"parameter_default":"T — MobileFaceNet (1.7M)","type":{"type":"string","enum":["T — MobileFaceNet (1.7M)","S — IResNet-18 (24.6M)","M — IResNet-50 (44.1M)","L — IResNet-100 (65.7M)"]},"python_type":{"type":"Literal[\u0027T — MobileFaceNet (1.7M)\u0027, \u0027S — IResNet-18 (24.6M)\u0027, \u0027M — IResNet-50 (44.1M)\u0027, \u0027L — IResNet-100 (65.7M)\u0027]","description":""},"component":"Dropdown","example_input":"T — MobileFaceNet (1.7M)"}],"returns":[{"label":"Result","type":{"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."},"python_type":{"type":"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))","description":""},"component":"Image"},{"label":"Quality Scores","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox"}],"show_api":true,"description":""},"/parsing_fn":{"parameters":[{"label":"Input Image","parameter_name":"image","parameter_has_default":false,"parameter_default":null,"type":{"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."},"python_type":{"type":"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))","description":"For input, either path or url must be provided. For output, path is always provided."},"component":"Image","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"}},{"label":"Parsing Model","parameter_name":"model_variant","parameter_has_default":true,"parameter_default":"BiSeNet (ResNet18) — 19 classes","type":{"enum":["BiSeNet (ResNet18) — 19 classes","BiSeNet (ResNet34) — 19 classes","XSeg — face mask"],"title":"Radio","type":"string"},"python_type":{"type":"Literal[\u0027BiSeNet (ResNet18) — 19 classes\u0027, \u0027BiSeNet (ResNet34) — 19 classes\u0027, \u0027XSeg — face mask\u0027]","description":""},"component":"Radio","example_input":"BiSeNet (ResNet18) — 19 classes"}],"returns":[{"label":"Segmentation Result","type":{"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
75itle":"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."},"python_type":{"type":"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))","description":""},"component":"Image"},{"label":"Parsing Results","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox"}],"show_api":true,"description":""},"/gaze_fn":{"parameters":[{"label":"Input Image","parameter_name":"image","parameter_has_default":false,"parameter_default":null,"type":{"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."},"python_type":{"type":"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))","description":"For input, either path or url must be provided. For output, path is always provided."},"component":"Image","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"}},{"label":"Backbone","parameter_name":"backbone","parameter_has_default":true,"parameter_default":"ResNet34","type":{"type":"string","enum":["ResNet18","ResNet34","ResNet50","MobileNetV2","MobileOne-S0"]},"python_type":{"type":"Literal[\u0027ResNet18\u0027, \u0027ResNet34\u0027, \u0027ResNet50\u0027, \u0027MobileNetV2\u0027, \u0027MobileOne-S0\u0027]","description":""},"component":"Dropdown","example_input":"ResNet18"}],"returns":[{"label":"Result","type":{"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"}
75],"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."},"python_type":{"type":"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))","description":""},"component":"Image"},{"label":"Gaze Angles","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox"}],"show_api":true,"description":""},"/headpose_fn":{"parameters":[{"label":"Input Image","parameter_name":"image","parameter_has_default":false,"parameter_default":null,"type":{"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."},"python_type":{"type":"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))","description":"For input, either path or url must be provided. For output, path is always provided."},"component":"Image","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"}},{"label":"Backbone","parameter_name":"backbone","parameter_has_default":true,"parameter_default":"ResNet18","type":{"type":"string","enum":["ResNet18","ResNet34","ResNet50","MobileNetV2","MobileNetV3-Small","MobileNetV3-Large"]},"python_type":{"type":"Literal[\u0027ResNet18\u0027, \u0027ResNet34\u0027, \u0027ResNet50\u0027, \u0027MobileNetV2\u0027, \u0027MobileNetV3-Small\u0027, \u0027MobileNetV3-Large\u0027]","description":""},"component":"Dropdown","example_input":"ResNet18"},{"label":"Visualization","parameter_name":"draw_type","parameter_has_default":true,"parameter_default":"cube","type":{"enum":["cube","axis"],"title":"Radio","type":"string"},"python_type":{"type":"Literal[\u0027cube\u0027, \u0027axis\u0027]","description":""},"component":"Radio","example_input":"cube"}],"returns":[{"label":"Result","type":{"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"}
75],"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."},"python_type":{"type":"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))","description":""},"component":"Image"},{"label":"Pose Angles","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox"}],"show_api":true,"description":""},"/spoofing_fn":{"parameters":[{"label":"Input Image","parameter_name":"image","parameter_has_default":false,"parameter_default":null,"type":{"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."},"python_type":{"type":"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))","description":"For input, either path or url must be provided. For output, path is always provided."},"component":"Image","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"}},{"label":"Model Variant","parameter_name":"model_variant","parameter_has_default":true,"parameter_default":"V2","type":{"enum":["V1SE","V2"],"title":"Radio","type":"string"},"python_type":{"type":"Literal[\u0027V1SE\u0027, \u0027V2\u0027]","description":""},"component":"Radio","example_input":"V1SE"}],"returns":[{"label":"Result","type":{"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."},"python_type":{"type":"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
75: bool (Can always be set to False), meta: dict(str, Any))","description":""},"component":"Image"},{"label":"Verdict","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox"}],"show_api":true,"description":""},"/matting_fn":{"parameters":[{"label":"Input Image","parameter_name":"image","parameter_has_default":false,"parameter_default":null,"type":{"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."},"python_type":{"type":"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))","description":"For input, either path or url must be provided. For output, path is always provided."},"component":"Image","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"}},{"label":"Model Variant","parameter_name":"model_variant","parameter_has_default":true,"parameter_default":"Photographic","type":{"enum":["Photographic","Webcam"],"title":"Radio","type":"string"},"python_type":{"type":"Literal[\u0027Photographic\u0027, \u0027Webcam\u0027]","description":""},"component":"Radio","example_input":"Photographic"},{"label":"Background","parameter_name":"background","parameter_has_default":true,"parameter_default":"white","type":{"type":"string","enum":["white","black","green","blur","alpha"]},"python_type":{"type":"Literal[\u0027white\u0027, \u0027black\u0027, \u0027green\u0027, \u0027blur\u0027, \u0027alpha\u0027]","description":""},"component":"Dropdown","example_input":"white"}],"returns":[{"label":"Composited Result","type":{"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."},"python_type":{"type":"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
75: bool (Can always be set to False), meta: dict(str, Any))","description":""},"component":"Image"},{"label":"Alpha Matte","type":{"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."},"python_type":{"type":"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))","description":""},"component":"Image"},{"label":"Details","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox"}],"show_api":true,"description":""},"/tracking_fn":{"parameters":[{"label":"Input Video","parameter_name":"video_path","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: 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"}},"properties":{"video":{"$ref":"#/$defs/FileData"},"subtitles":{"anyOf":[{"$ref":"#/$defs/FileData"},{"type":"null"}],"default":null}},"required":["video"],"title":"VideoData","type":"object","additional_description":null},"python_type":{"type":"dict(video: filepath, subtitles: filepath | None)","description":null},"component":"Video","example_input":{"video":{"path":"https://github.com/gradio-app/gradio/raw/main/demo/video_component/files/world.mp4","meta":{"_type":"gradio.FileData"},"orig_name":"world.mp4","url":"https://github.com/gradio-app/gradio/raw/main/demo/video_component/files/world.mp4"}}},{"label":"Detection Confidence","parameter_name":"confidence","parameter_has_default":true,"parameter_default":0.5,"type":{"type":"number","description":"numeric value between 0.1 and 0.95"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":0.1},{"label":"Track Buffer (frames)","parameter_name":"track_buffer","parameter_has_default":true,"parameter_default":30,"type":{"type":"number","description":"numeric value between 5 and 90"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":5},{"label":"Max Frames (0 = all)","parameter_name":"max_frames","parameter_has_default":true,"parameter_default":300,"type":{"type":"number","description":"numeric value between 0 and 600"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":0}],"returns":[{"label":"Tracked Result","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.\
75n    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"}},"properties":{"video":{"$ref":"#/$defs/FileData"},"subtitles":{"anyOf":[{"$ref":"#/$defs/FileData"},{"type":"null"}],"default":null}},"required":["video"],"title":"VideoData","type":"object","additional_description":null},"python_type":{"type":"dict(video: filepath, subtitles: filepath | None)","description":""},"component":"Video"},{"label":"Tracking Stats","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox"}],"show_api":true,"description":""},"/anonymize_fn":{"parameters":[{"label":"Input Image","parameter_name":"image","parameter_has_default":false,"parameter_default":null,"type":{"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."},"python_type":{"type":"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))","description":"For input, either path or url must be provided. For output, path is always provided."},"component":"Image","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"}},{"label":"Blur Method","parameter_name":"blur_method","parameter_has_default":true,"parameter_default":"elliptical","type":{"type":"string","enum":["gaussian","pixelate","median","blackout","elliptical"]},"python_type":{"type":"Literal[\u0027gaussian\u0027, \u0027pixelate\u0027, \u0027median\u0027, \u0027blackout\u0027, \u0027elliptical\u0027]","description":""},"component":"Dropdown","example_input":"gaussian"}],"returns":[{"label":"Anonymized","type":{"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"}
75],"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."},"python_type":{"type":"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))","description":""},"component":"Image"},{"label":"Details","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox"}],"show_api":true,"description":""}},"unnamed_endpoints":{}};</script>
75
76
77		<link rel="preconnect" href="https://fonts.googleapis.com" />
78		<link
79			rel="preconnect"
80			href="https://fonts.gstatic.com"
81			crossorigin="anonymous"
82		/>
83		
83<script
84			src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"
85			async
86		></script>
86
87		
87<script data-gradio-mode>
88			window.__gradio_mode__ = "app";
89			window.iFrameResizer = {
90				autoResize: false,
91				sizeWidth: false
92			};
93			window.parent?.postMessage(
94				{ type: "SET_SCROLLING", enabled: false },
95				"*"
96			);
97		</script>
97
98		<link rel="manifest" href="/manifest.json" />
99		
99<script type="module" crossorigin src="./assets/index-BxT30XTY.js"></script>
99
100		<link rel="stylesheet" crossorigin href="./assets/index-CnbR2Ycz.css">
101	</head>
102
103	<body
104		style="
105			width: 100%;
106			margin: 0;
107			padding: 0;
108			display: flex;
109			flex-direction: column;
110			flex-grow: 1;
111		"
112	>
113		<gradio-app
114			control_page_title="true"
115			embed="false"
116			eager="true"
117			style="display: flex; flex-direction: column; flex-grow: 1"
118		>
119		</gradio-app>
120		
120<script>
121			const ce = document.getElementsByTagName("gradio-app");
122
123			if (ce[0]) {
124				ce[0].addEventListener("domchange", () => {
125					document.body.style.padding = "0";
126				});
127				document.body.style.padding = "0";
128			}
129		</script>
129
130	</body>
131</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.