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="Gradio" /> 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="Gradio" /> 69 <meta 70 name="twitter:description" 71 content="" 72 /> 73 <meta name="twitter:image" content="" /> 74 75
75<script data-gradio-mode> 76 window.__gradio_mode__ = "app"; 77 window.iFrameResizer = { 78 heightCalculationMethod: "taggedElement" 79 }; 80 window.parent?.postMessage( 81 { type: "SET_SCROLLING", enabled: false }, 82 "*" 83 ); 84 </script>
84 85 86
86<script>window.gradio_config = {"version":"5.38.2","api_prefix":"/gradio_api","mode":"blocks","app_id":855306653435422024,"dev_mode":false,"analytics_enabled":true,"components":[{"id":26,"type":"tabitem","props":{"label":"App","visible":true,"interactive":true,"preserved_by_key":[],"name":"tab"},"skip_api":true,"component_class_id":"1c90007b1764f6020d609b76bbdbb41f90397317a32298785a60800796916496","key":null},{"id":1,"type":"markdown","props":{"value":"# Stable Cascade\n\u003cp style=\"text-align: center\"\u003eUnofficial demo for \u003ca href=\u0027https://huggingface.co/stabilityai/stable-cascade\u0027 target=\u0027_blank\u0027\u003eStable Casacade\u003c/a\u003e, a new high resolution text-to-image model by Stability AI, built on the Würstchen architecture - \u003ca href=\u0027https://huggingface.co/stabilityai/stable-cascade/blob/main/LICENSE\u0027 target=\u0027_blank\u0027\u003enon-commercial research license\u003c/a\u003e\u003c/p\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":"927e99ba5dda4bcd0dfe596d4d0cecdc2e0b41e7e95071a05f96ae3971390ed6","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":2,"type":"button","props":{"value":"Duplicate Space for private use","variant":"huggingface","size":"sm","visible":false,"interactive":true,"elem_id":"duplicate-button","elem_classes":[],"preserved_by_key":["value"],"scale":0,"name":"button","_selectable":false},"skip_api":true,"component_class_id":"1ada87a6f30451485b0017dcc1700b08b0359a13629199791c2ac3489391f855","key":null},{"id":3,"type":"group","props":{"visible":true,"preserved_by_key":[],"name":"group"},"skip_api":true,"component_class_id":"add16ccfa19e617e0a8b9f0f576a8a66c5816476cd8cd397a99fcc92d13a5d71","key":null},{"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":"724216f2707d8e99d1bf5993a957b41df582b9f858086784b9e93dca5b08e3ce","key":null},{"id":5,"type":"textbox","props":{"type":"text","lines":1,"max_lines":1,"placeholder":"Enter your prompt","label":"Prompt","show_label":false,"container":false,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"show_copy_button":false,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"0ad8e7dd48970890cef0fb44101b5b9b5a57422fa28062cfa5b0de927e78f3dc","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":6,"type":"button","props":{"value":"Run","variant":"secondary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"scale":0,"name":"button","_selectable":false},"skip_api":true,"component_class_id":"51bd485a5354bcd93c72c66428b42770f71e60d8f9bb8345f6ce8a6787cd1c8f","key":null},{"id":7,"type":"image","props":{"streamable":false,"format":"webp","image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Result","show_label":false,"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":"351d056ca75314330d88d8aebe3aa725e7106c6eb3286a94e6de3d0fc805f246","key":null,"api_info":{"properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","t
86itle":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object","additional_description":"For input, either path or url must be provided. For output, path is always provided."},"api_info_as_input":{"properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object","additional_description":"For input, either path or url must be provided. For output, path is always provided."},"api_info_as_output":{"properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object","additional_description":"For input, either path or url must be provided. For output, path is always provided."},"example_inputs":{"path":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png","meta":{"_type":"gradio.FileData"},"orig_name":"bus.png","url":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"}},{"id":8,"type":"accordion","props":{"label":"Advanced options","open":false,"visible":true,"preserved_by_key":[],"name":"accordion"},"skip_api":true,"component_class_id":"f7ca9b901f75c307c1f5ddd33f789d906d98b7f72e2885efbfaa76243b6822af","key":null},{"id":9,"type":"textbox","props":{"type":"text","lines":1,"max_lines":1,"placeholder":"Enter a Negative Prompt","label":"Negative prompt","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":false,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"0ad8e7dd48970890cef0fb44101b5b9b5a57422fa28062cfa5b0de927e78f3dc","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":10,"type":"slider","props":{"minimum":0,"maximum":2147483647,"value":0,"step":1,"label":"Seed","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":"0ac3736b4129faf84640f0058a8d346f4329c60284cd45c39454e44098df1b16","key":null,"api_info":{"type":"number","description":"numeric value between 0 and 2147483647"},"api_info_as_input":{"type":"number","description":"numeric value between 0 and 2147483647"},"api_info_as_output":{"type":"number","description":"numeric value between 0 and 2147483647"},"example_inputs":0},{"id":11,"type":"checkbox","props":{"value":true,"label":"Randomize seed","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"name":"checkbox","_selectable":false},"skip_api":false,"component_class_id":"ee84e6fe71f46ce35def4649190f65f814a794e417222238f1c6f0b7977175e6","key":null,"api_info":{"type":"boolean"},"api_info_as_input":{"type":"boolean"},"api_info_as_output":{"type":"boolean"},"example_inputs":true},{"id":12,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"724216f2707d8e99d1bf5993a957b41df582b9f858086784b9e93dca5b08e3ce","key":null},{"id":13,"type":"slider","props":{"minimum":1024,"maximum":1536,"value":1024,"step":512,"label":"Width","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":"0ac3736b4129faf84640f0058a8d346f4329c60284cd45c39454e44098df1b16","key":null,"api_info":{"type":"number","description":"numeric value between 1024 and 1536"},"api_info_as_input":{"type":"number","description":"numeric value between 1024 and 1536"},"api_info_as_output":{"type":"number","description":"numeric value between 1024 and 1536"},"example_inputs":1024},{"id":14,"type":"slider","props":{"minimum":1024,"maximum":1536,"value":1024,"step":512,"label":"Height","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":"0ac3736b4129faf84640f0058a8d346f4329c60284cd45c39454e44098df1b16","key":null,"api_info":{"type":"number","description":"numeric value between 1024 and 1536"},"api_info_as_input":{"type":"number","description":"numeric value between 1024 and 1536"},"api_info_as_output":{"type":"number","description":"numeric value between 1024 and 1536"},"example_inputs":1024},{"id":15,"type":"slider","props":{"minimum":1,"maximum":2,"value":1,"step":1,"label":"Number of Images","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":"0ac3736b4129faf84640f0058a8d346f4329c60284cd45c39454e44098df1b16","key":null,"api_info":{"type":"number","description":"numeric value between 1 and 2"},"api_info_as_input":{"type":"number","description":"numeric value between 1 and 2"},"api_info_as_output":{"type":"number","description":"numeric value between 1 and 2"},"example_inputs":1},{"id":16,"type":"form","props":{"scale":3,"min_width":480,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"ed5cd51f569f3a7624b1709c4e7e50a5a608037f5fb82307671a5cec77e36b71","key":null},{"id":17,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"724216f2707d8e99d1bf5993a957b41df582b9f858086784b9e93dca5b08e3ce","key":null},{"id":18,"type":"slider","props":{"minimum":0,"maximum":20,"value":4.0,"step":0.1,"label":"Prior Guidance Scale","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":"0ac3736b4129faf84640f0058a8d346f4329c60284cd45c39454e44098df1b16","key":null,"api_info":{"type":"number","description":"numeric value between 0 and 20"},"api_info_as_input":{"type":"number","description":"numeric value between 0 and 20"},"api_info_as_output":{"type":"number","description":"numeric value between 0 and 20"},"example_inputs":0},{"id":19,"type":"slider","props":{"minimum":10,"maximum":30,"value":20,"step":1,"label":"Prior Inference Steps","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":"0ac3736b4129faf84640f0058a8d346f4329c60284cd45c39454e44098df1b16","key":null,"api_info":{"type":"number","description":"numeric value between 10 and 30"},"api_info_as_input":{"type":"number","description":"numeric value between 10 and 30"},"api_info_as_output":{"type":"number","description":"numeric value between 10 and 30"},"example_inputs":10},{"id":20,"type":"slider","props":{"minimum":0,"maximum":0,"value":0.0,"step":0.1,"label":"Decoder Guidance Scale","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":"0ac3736b4129faf84640f0058a8d346f4329c60284cd45c39454e44098df1b16","key":null,"api_info":{"type":"number","description":"numeric value between 0 and 0"},"api_info_as_input":{"type":"number","description":"numeric value between 0 and 0"},"api_info_as_output":{"type":"number","description":"numeric value between 0 and 0"},"example_inputs":0},{"id":21,"type":"slider","props":{"minimum":4,"maximum":12,"value":10,"step":1,"label":"Decoder Inference Steps","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":"0ac3736b4129faf84640f0058a8d346f4329c60284cd45c39454e44098df1b16","key":null,"api_info":{"type":"number","description":"numeric value between 4 and 12"},"api_info_as_input":{"type":"number","description":"numeric value between 4 and 12"},"api_info_as_output":{"type":"number","description":"numeric value between 4 and 12"},"example_inputs":4},{"id":22,"type":"form","props":{"scale":4,"min_width":640,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"ed5cd51f569f3a7624b1709c4e7e50a5a608037f5fb82307671a5cec77e36b71","key":null},{"id":23,"type":"form","props":{"scale":0,"min_width":0,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"ed5cd51f569f3a7624b1709c4e7e50a5a608037f5fb82307671a5cec77e36b71","key":null},{"id":24,"type":"dataset","props":{"show_label":true,"component_props":[{"type":"text","lines":1,"max_lines":1,"placeholder":"Enter your prompt","label":"Prompt","info":null,"show_label":false,"container":false,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"autofocus":false,"autoscroll":true,"elem_classes":[],"key":null,"preserved_by_key":["value"],"text_align":null,"rtl":false,"show_copy_button":false,"max_length":null,"submit_btn":false,"stop_btn":false,"html_attributes":null}],"samples":[["An astronaut riding a green horse"],["A mecha robot in a favela by Tarsila do Amaral"],["The spirit of a Tamagotchi
86wandering in the city of Los Angeles"],["A delicious feijoada ramen dish"]],"headers":["Prompt"],"type":"tuple","samples_per_page":10,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"container":true,"min_width":160,"name":"dataset","_selectable":false,"components":["textbox"],"component_ids":[5]},"skip_api":false,"component_class_id":"59799070042857c5faf7de28fcb731985f98c9eb1bc03e0c2bc3eb38902a7aef","key":null,"api_info":{"type":"integer","description":"index of selected example"},"api_info_as_input":{"type":"integer","description":"index of selected example"},"api_info_as_output":{"type":"integer","description":"index of selected example"},"example_inputs":0},{"id":27,"type":"tabitem","props":{"label":"Past generations","visible":true,"interactive":true,"preserved_by_key":[],"name":"tab"},"skip_api":true,"component_class_id":"1c90007b1764f6020d609b76bbdbb41f90397317a32298785a60800796916496","key":null},{"id":28,"type":"markdown","props":{"value":"## Your past generations\n\nLog in to keep a gallery of your previous generations. Your history will be saved and available on your next visit. Make sure to export your images from time to time as this gallery may be deleted in the future.","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":"927e99ba5dda4bcd0dfe596d4d0cecdc2e0b41e7e95071a05f96ae3971390ed6","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":29,"type":"markdown","props":{"value":"**â ï¸ Persistent storage is disabled, meaning your history will be lost if the Space gets restarted. Only the Space owner can setup a Persistent Storage. If you are not the Space owner, consider duplicating this Space to set your own storage.â ï¸**","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":"927e99ba5dda4bcd0dfe596d4d0cecdc2e0b41e7e95071a05f96ae3971390ed6","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":30,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"724216f2707d8e99d1bf5993a957b41df582b9f858086784b9e93dca5b08e3ce","key":null},{"id":31,"type":"button","props":{"value":"Sign in with Hugging Face","logout_value":"Logout ({})","variant":"huggingface","size":"lg","icon":{"path":"/usr/local/lib/python3.10/site-packages/gradio/icons/huggingface-logo.svg","url":"https://multimodalart-stable-cascade.hf.space/gradio_api/file=/usr/local/lib/python3.10/site-packages/gradio/icons/huggingface-logo.svg","size":null,"orig_name":null,"mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"min_width":250,"name":"button","_selectable":false},"skip_api":true,"component_class_id":"c3637bb80ffe0b4e792a6e348a8a7ffeed5ac4d21660cbd75b8cbf842645c8fe","key":null},{"id":32,"type":"button","props":{"value":"Refresh","variant":"secondary","size":"lg","icon":{"path":"https://huggingface.co/spaces/Wauplin/gradio-user-history/resolve/main/assets/icon_refresh.png","url":"https://huggingface.co/spaces/Wauplin/gradio-user-history/resolve/main/assets/icon_refresh.png","size":null,"orig_name":null,"mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"51bd485a5354bcd93c72c66428b42770f71e60d8f9bb8345f6ce8a6787cd1c8f","key":null},{"id":33,"type":"button","props":{"value":"Export","variant":"secondary","size":"lg","icon":{"path":"https://huggingface.co/spaces
86/Wauplin/gradio-user-history/resolve/main/assets/icon_download.png","url":"https://huggingface.co/spaces/Wauplin/gradio-user-history/resolve/main/assets/icon_download.png","size":null,"orig_name":null,"mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"51bd485a5354bcd93c72c66428b42770f71e60d8f9bb8345f6ce8a6787cd1c8f","key":null},{"id":34,"type":"button","props":{"value":"Delete history","variant":"secondary","size":"lg","icon":{"path":"https://huggingface.co/spaces/Wauplin/gradio-user-history/resolve/main/assets/icon_delete.png","url":"https://huggingface.co/spaces/Wauplin/gradio-user-history/resolve/main/assets/icon_delete.png","size":null,"orig_name":null,"mime_type":null,"is_stream":false,"meta":{"_type":"gradio.FileData"}},"visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"51bd485a5354bcd93c72c66428b42770f71e60d8f9bb8345f6ce8a6787cd1c8f","key":null},{"id":35,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"724216f2707d8e99d1bf5993a957b41df582b9f858086784b9e93dca5b08e3ce","key":null},{"id":36,"type":"file","props":{"file_count":"single","file_types":[".zip"],"type":"filepath","label":"Exported history","show_label":true,"container":true,"min_width":160,"visible":false,"elem_classes":[],"preserved_by_key":["value"],"allow_reordering":false,"name":"file","_selectable":false},"skip_api":false,"component_class_id":"f12bf7256389942af664b7cc37ada7c2c0de13afbc7585f3b57fdc557512251b","key":null,"api_info":{"$defs":{"FileDataMeta":{"properties":{"_type":{"const":"gradio.FileData","title":"Type","type":"string"}},"required":["_type"],"title":"FileDataMeta","type":"object"}},"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","additional_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)."},"api_info_as_input":{"$defs":{"FileDataMeta":{"properties":{"_type":{"const":"gradio.FileData","title":"Type","type":"string"}},"required":["_type"],"title":"FileDataMeta","type":"object"}},"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","additional_description":"The FileData class is a subclass of the GradioModel class that represents a file object within a Gradio interface. It is used to store file data and metadata when a file is uploaded.\n\nAttributes:\n path: The server file path where the file is stored.\n url: The normalized server URL pointing to the file.\n size: The size of the file in bytes.\
86n orig_name: The original filename before upload.\n mime_type: The MIME type of the file.\n is_stream: Indicates whether the file is a stream.\n meta: Additional metadata used internally (should not be changed)."},"api_info_as_output":{"$defs":{"FileDataMeta":{"properties":{"_type":{"const":"gradio.FileData","title":"Type","type":"string"}},"required":["_type"],"title":"FileDataMeta","type":"object"}},"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","additional_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)."},"example_inputs":{"path":"https://github.com/gradio-app/gradio/raw/main/test/test_files/sample_file.pdf","meta":{"_type":"gradio.FileData"},"orig_name":"sample_file.pdf","url":"https://github.com/gradio-app/gradio/raw/main/test/test_files/sample_file.pdf"}},{"id":37,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"724216f2707d8e99d1bf5993a957b41df582b9f858086784b9e93dca5b08e3ce","key":null},{"id":38,"type":"button","props":{"value":"Confirm delete all history","variant":"stop","size":"lg","visible":false,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"51bd485a5354bcd93c72c66428b42770f71e60d8f9bb8345f6ce8a6787cd1c8f","key":null},{"id":39,"type":"button","props":{"value":"Cancel","variant":"secondary","size":"lg","visible":false,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"51bd485a5354bcd93c72c66428b42770f71e60d8f9bb8345f6ce8a6787cd1c8f","key":null},{"id":40,"type":"gallery","props":{"value":[],"format":"webp","label":"Past images","show_label":true,"container":true,"min_width":160,"visible":true,"elem_id":"gallery","elem_classes":[],"preserved_by_key":["value"],"columns":5,"height":600,"allow_preview":true,"preview":false,"object_fit":"contain","show_share_button":false,"show_download_button":false,"type":"filepath","show_fullscreen_button":true,"name":"gallery","_selectable":false},"skip_api":false,"component_class_id":"5b562b339b9a5bd9023ffb4f59bdfc7fe5042c31cece518f183a118a99b215e9","key":null,"api_info":{"$defs":{"FileData":{"description":"The FileData class is a subclass of the GradioModel class that represents a file object within a Gradio interface. It is used to store file data and metadata when a file is uploaded.\n\nAttributes:\n path: The server file path where the file is stored.\n url: The normalized server URL pointing to the file.\n size: The size of the file in bytes.\n orig_name: The original filename before upload.\n mime_type: The MIME type of the file.\n is_stream: Indicates whether the file is a stream.\n meta: Additional metadata used internally (should not be changed).","properties":{"path":{"title":"Path","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Mime Type"},"is_stream":{"default":false,"title":"Is Stream","type":"boolean"},"meta":{"$ref":"#/$defs/FileDataMeta"}},"required":["path"],"title":"FileData","type":"object"},"FileDataMeta":{"properties":{"_type":{"const":"gradio.FileData","title":"Type","type":"string"}},"required":["_type"],"title":"FileDataMeta","type":"object"},"GalleryImage":{"properties":{"image":{"$ref":"#/$defs/ImageData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["image"],"title":"GalleryImage","type":"object"},"GalleryVideo":{"properties":{"video":{"$ref":"#/$defs/FileData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["video"],"title":"GalleryVideo","type":"object"},"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","t
86itle":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"items":{"anyOf":[{"$ref":"#/$defs/GalleryImage"},{"$ref":"#/$defs/GalleryVideo"}]},"title":"GalleryData","type":"array","additional_description":null},"api_info_as_input":{"$defs":{"FileData":{"description":"The FileData class is a subclass of the GradioModel class that represents a file object within a Gradio interface. It is used to store file data and metadata when a file is uploaded.\n\nAttributes:\n path: The server file path where the file is stored.\n url: The normalized server URL pointing to the file.\n size: The size of the file in bytes.\n orig_name: The original filename before upload.\n mime_type: The MIME type of the file.\n is_stream: Indicates whether the file is a stream.\n meta: Additional metadata used internally (should not be changed).","properties":{"path":{"title":"Path","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Mime Type"},"is_stream":{"default":false,"title":"Is Stream","type":"boolean"},"meta":{"$ref":"#/$defs/FileDataMeta"}},"required":["path"],"title":"FileData","type":"object"},"FileDataMeta":{"properties":{"_type":{"const":"gradio.FileData","title":"Type","type":"string"}},"required":["_type"],"title":"FileDataMeta","type":"object"},"GalleryImage":{"properties":{"image":{"$ref":"#/$defs/ImageData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["image"],"title":"GalleryImage","type":"object"},"GalleryVideo":{"properties":{"video":{"$ref":"#/$defs/FileData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["video"],"title":"GalleryVideo","type":"object"},"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"items":{"anyOf":[{"$ref":"#/$defs/GalleryImage"},{"$ref":"#/$defs/GalleryVideo"}]},"title":"GalleryData","type":"array","additional_description":null},"api_info_as_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.\
86n orig_name: The original filename before upload.\n mime_type: The MIME type of the file.\n is_stream: Indicates whether the file is a stream.\n meta: Additional metadata used internally (should not be changed).","properties":{"path":{"title":"Path","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Mime Type"},"is_stream":{"default":false,"title":"Is Stream","type":"boolean"},"meta":{"$ref":"#/$defs/FileDataMeta"}},"required":["path"],"title":"FileData","type":"object"},"FileDataMeta":{"properties":{"_type":{"const":"gradio.FileData","title":"Type","type":"string"}},"required":["_type"],"title":"FileDataMeta","type":"object"},"GalleryImage":{"properties":{"image":{"$ref":"#/$defs/ImageData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["image"],"title":"GalleryImage","type":"object"},"GalleryVideo":{"properties":{"video":{"$ref":"#/$defs/FileData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["video"],"title":"GalleryVideo","type":"object"},"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"items":{"anyOf":[{"$ref":"#/$defs/GalleryImage"},{"$ref":"#/$defs/GalleryVideo"}]},"title":"GalleryData","type":"array","additional_description":null},"example_inputs":[{"image":{"path":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png","meta":{"_type":"gradio.FileData"},"orig_name":"bus.png","url":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"}}]},{"id":41,"type":"markdown","props":{"value":"User history is powered by [Wauplin/gradio-user-history](https://huggingface.co/spaces/Wauplin/gradio-user-history). Integrate it to your own Space in just a few lines of code!","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":"927e99ba5dda4bcd0dfe596d4d0cecdc2e0b41e7e95071a05f96ae3971390ed6","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":42,"type":"markdown","props":{"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":"927e99ba5dda4bcd0dfe596d4d0cecdc2e0b41e7e95071a05f96ae3971390ed6","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":43,"type":"tabs","props":{"visible":true,"preserved_by_key":[],"name":"tabs"},"skip_api":true,"component_class_id":"01bcf447b29dfcb9603af34a268077fbe3f736c3ebd52801a0497553de1b2ce6","key":null}],"css":"\nh1 {\n text-align: center;\n justify-content: center; \n}\n[role=\"tabpanel\"]{border: 0}\n#duplicate-button {\n margin: auto;\n color: #fff;\n background: #1565c0;\n border-radius: 100vh;\n}\n.gradio-container{max-width: 760px !important; margin: 0 auto !important}\n#share-btn-container{padding-left: 0.5rem !important; padding-right: 0.5rem !important; background-color: #000000; justify-content: center; align-items: center; border-radius: 9999px !important; max-width: 13rem; margin-left: auto;margin-top: 0.35em;}\ndiv#share-btn-container \u003e div {flex-direction: row;background: black;align-items: center}\n#share-btn-container:hover {background-color: #060606}\n#share-btn {all: initial; color: #ffffff;font-weight: 600; cursor:pointer; font-family: \u0027IBM Plex Sans\u0027, sans-serif; margin-left: 0.5rem !important; padding-top: 0.5rem !important; padding-bottom: 0.5rem !important;right:0;font-size: 15px;}\n#share-btn * {all: unset}\n#share-btn-container div:nth-child(-n+2){width: auto !important;min-height: 0px !important;}\n#share-btn-container .wrap {display: none !important}\n#share-btn-container.hidden {display: none!important}\n","connect_heartbeat":false,"js":"","head":"","title":"Gradio","space_id":"multimodalart/stable-cascade","enable_queue":true,"show_error":false,"show_api":true,"is_colab":false,"max_file_size":null,"stylesheets":["https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600\u0026display=swap"],"theme":"default","protocol":"sse_v3","body_css":{"body_background_fill":"white","body_text_color":"#27272a","body_background_fill_dark":"#0f0f11","body_text_color_dark":"#f4f4f5"},"fill_height":false,"fill_width":false,"theme_hash":"dcc5ba6daa59190cd89158b9dcd638cb327c8d2793466af78361ece68e126118","pwa":true,"pages":[["","Home"]],"page":{""
86:{"layout":{"id":25,"children":[{"id":43,"children":[{"id":26,"children":[{"id":1},{"id":2},{"id":3,"children":[{"id":4,"children":[{"id":5},{"id":6}]},{"id":7}]},{"id":8,"children":[{"id":23,"children":[{"id":9},{"id":10},{"id":11}]},{"id":12,"children":[{"id":16,"children":[{"id":13},{"id":14},{"id":15}]}]},{"id":17,"children":[{"id":22,"children":[{"id":18},{"id":19},{"id":20},{"id":21}]}]}]},{"id":24}]},{"id":27,"children":[{"id":28},{"id":29},{"id":30,"children":[{"id":31},{"id":32},{"id":33},{"id":34}]},{"id":35,"children":[{"id":36}]},{"id":37,"children":[{"id":38},{"id":39}]},{"id":40},{"id":41},{"id":42}]}]}]},"components":[26,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"dependencies":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]}},"mcp_server":false,"i18n_translations":null,"dependencies":[{"id":0,"targets":[[2,"click"]],"inputs":[],"outputs":[],"backend_fn":false,"js":"() =\u003e { window.open(`https://huggingface.co/spaces/multimodalart/stable-cascade?duplicate=true`, \u0027_blank\u0027) }","queue":false,"api_name":"js_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_mode":"once","show_api":false,"rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"like_user_message":false,"event_specific_args":null,"js_implementation":null},{"id":1,"targets":[[24,"click"]],"inputs":[24],"outputs":[5],"backend_fn":true,"js":null,"queue":false,"api_name":"load_example_input","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_mode":"once","show_api":false,"rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"like_user_message":false,"event_specific_args":null,"js_implementation":null},{"id":2,"targets":[[null,"then"]],"inputs":[24],"outputs":[7],"backend_fn":true,"js":null,"queue":true,"api_name":"load_example","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":1,"trigger_only_on_success":false,"trigger_mode":"once","show_api":false,"rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"like_user_message":false,"event_specific_args":null,"js_implementation":null},{"id":3,"targets":[[5,"submit"],[9,"submit"],[6,"click"]],"inputs":[10,11],"outputs":[10],"backend_fn":true,"js":null,"queue":false,"api_name":false,"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_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":[],"js_implementation":null},{"id":4,"targets":[[null,"then"]],"inputs":[5,9,10,13,14,19,18,21,20,15],"outputs":[7],"backend_fn":true,"js":null,"queue":true,"api_name":"run","api_description":null,"scroll_to_output":false,"show_progress":"full","show_progress_on":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":true,"cancel":false},"collects_event_data":false,"trigger_after":3,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true,"rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"like_user_message":false,"event_specific_args":null,"js_implementation":null},{"id":5,"targets":[[31,"click"]],"inputs":[31],"outputs":[],"backend_fn":false,"js":"\n(buttonValue) =\u003e {\n uri = buttonValue === \"Sign in with Hugging Face\" ? \u0027/login/huggingface?_target_url=/\u0027 : \u0027/logout?_target_url=/\u0027;\n window.parent?.postMessage({ type: \"SET_SCROLLING\", enabled: true }, \"*\");\n setTimeout(() =\u003e {\n window.location.assign(uri + window.location.search);\n }, 500);\n}\n","queue":false,"api_name":"js_fn_1","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_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":[[32,"click"]],"inputs":[],"outputs":[40],"backend_fn":true,"js":null,"queue":false,"api_name":"_fetch_user_history","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_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":[[33,"click"]],"inputs":[],"outputs":[36],"backend_fn":true,"js":null,"queue":false,"api_name":"_export_user_history","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_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":8,"targets":[[34,"click"]],"inputs":[],"outputs":[38,39],"backend_fn":true,"js":null,"queue":false,"api_name":"lambda","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_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":[[39,"click"]],"inputs":[],"outputs":[38,39],"backend_fn":true,"js":null,"queue":false,"api_name":"lambda_1","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_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":10,"targets":[[38,"click"]],"inputs":[],"outputs":[],"backend_fn":true,"js":null,"queue":true,"api_name":"_delete_user_history","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_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":[[null,"then"]],"inputs":[],"outputs":[38,39],"backend_fn":true,"js":null,"queue":false,"api_name":"lambda_2","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":10,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true,"rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"like_user_message":false,"event_specific_args":null,"js_implementation":null},{"id":12,"targets":[[null,"load"]],"inputs":[],"outputs":[31],"backend_fn":true,"js":null,"queue":true,"api_name":"_check_login_status","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_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":[[null,"load"]],"inputs":[],"outputs":[40],"backend_fn":true,"js":null,"queue":true,"api_name":"_fetch_user_history_1","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_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":14,"targets":[[null,"load"]],"inputs":[],"outputs":[42],"backend_fn":true,"js":null,"queue":true,"api_name":"_inner","a
86pi_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_mode":"once","show_api":true,"rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"like_user_message":false,"event_specific_args":null,"js_implementation":null}],"layout":{"id":25,"children":[{"id":43,"children":[{"id":26,"children":[{"id":1},{"id":2},{"id":3,"children":[{"id":4,"children":[{"id":5},{"id":6}]},{"id":7}]},{"id":8,"children":[{"id":23,"children":[{"id":9},{"id":10},{"id":11}]},{"id":12,"children":[{"id":16,"children":[{"id":13},{"id":14},{"id":15}]}]},{"id":17,"children":[{"id":22,"children":[{"id":18},{"id":19},{"id":20},{"id":21}]}]}]},{"id":24}]},{"id":27,"children":[{"id":28},{"id":29},{"id":30,"children":[{"id":31},{"id":32},{"id":33},{"id":34}]},{"id":35,"children":[{"id":36}]},{"id":37,"children":[{"id":38},{"id":39}]},{"id":40},{"id":41},{"id":42}]}]}]},"root":"https://multimodalart-stable-cascade.hf.space","username":null,"deep_link_state":"none","current_page":""};</script>
86<script>window.gradio_api_info = {"named_endpoints":{"/run":{"parameters":[{"label":"Prompt","parameter_name":"prompt","parameter_has_default":false,"parameter_default":null,"type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox","example_input":"Hello!!"},{"label":"Negative prompt","parameter_name":"negative_prompt","parameter_has_default":false,"parameter_default":null,"type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox","example_input":"Hello!!"},{"label":"Seed","parameter_name":"seed","parameter_has_default":true,"parameter_default":0,"type":{"type":"number","description":"numeric value between 0 and 2147483647"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":0},{"label":"Width","parameter_name":"width","parameter_has_default":true,"parameter_default":1024,"type":{"type":"number","description":"numeric value between 1024 and 1536"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":1024},{"label":"Height","parameter_name":"height","parameter_has_default":true,"parameter_default":1024,"type":{"type":"number","description":"numeric value between 1024 and 1536"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":1024},{"label":"Prior Inference Steps","parameter_name":"prior_num_inference_steps","parameter_has_default":true,"parameter_default":20,"type":{"type":"number","description":"numeric value between 10 and 30"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":10},{"label":"Prior Guidance Scale","parameter_name":"prior_guidance_scale","parameter_has_default":true,"parameter_default":4.0,"type":{"type":"number","description":"numeric value between 0 and 20"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":0},{"label":"Decoder Inference Steps","parameter_name":"decoder_num_inference_steps","parameter_has_default":true,"parameter_default":10,"type":{"type":"number","description":"numeric value between 4 and 12"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":4},{"label":"Decoder Guidance Scale","parameter_name":"decoder_guidance_scale","parameter_has_default":true,"parameter_default":0.0,"type":{"type":"number","description":"numeric value between 0 and 0"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":0},{"label":"Number of Images","parameter_name":"num_images_per_prompt","parameter_has_default":true,"parameter_default":1,"type":{"type":"number","description":"numeric value between 1 and 2"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":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","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"}],"show_api":true,"description":""},"/_fetch_user_history":{"parameters":[],"returns":[{"label":"Past images","type":{"$defs":{"FileData":{"description":"The FileData class is a subclass of the GradioModel class that represents a file object within a Gradio interface. It is used to store file data and metadata when a file is uploaded.\n\nAttributes:\n path: The server file path where the file is stored.\n url: The normalized server URL pointing to the file.\n size: The size of the file in bytes.\
86n orig_name: The original filename before upload.\n mime_type: The MIME type of the file.\n is_stream: Indicates whether the file is a stream.\n meta: Additional metadata used internally (should not be changed).","properties":{"path":{"title":"Path","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Mime Type"},"is_stream":{"default":false,"title":"Is Stream","type":"boolean"},"meta":{"$ref":"#/$defs/FileDataMeta"}},"required":["path"],"title":"FileData","type":"object"},"FileDataMeta":{"properties":{"_type":{"const":"gradio.FileData","title":"Type","type":"string"}},"required":["_type"],"title":"FileDataMeta","type":"object"},"GalleryImage":{"properties":{"image":{"$ref":"#/$defs/ImageData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["image"],"title":"GalleryImage","type":"object"},"GalleryVideo":{"properties":{"video":{"$ref":"#/$defs/FileData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["video"],"title":"GalleryVideo","type":"object"},"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"items":{"anyOf":[{"$ref":"#/$defs/GalleryImage"},{"$ref":"#/$defs/GalleryVideo"}]},"title":"GalleryData","type":"array","additional_description":null},"python_type":{"type":"list[dict(image: dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream: bool (Can always be set to False), meta: dict(str, Any)), caption: str | None) | dict(video: filepath, caption: str | None)]","description":""},"component":"Gallery"}],"show_api":true,"description":"Return saved history for that user, if it exists."},"/_export_user_history":{"parameters":[],"returns":[{"label":"Exported history","type":{"$defs":{"FileDataMeta":{"properties":{"_type":{"const":"gradio.FileData","title":"Type","type":"string"}},"required":["_type"],"title":"FileDataMeta","type":"object"}},"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","additional_description":"The FileData class is a subclass of the GradioModel class that represents a file object within a Gradio interface. It is used to store file data and metadata when a file is uploaded.\n\nAttributes:\n path: The server file path where the file is stored.\n url: The normalized server URL pointing to the file.\n size: The size of the file in bytes.\
86n orig_name: The original filename before upload.\n mime_type: The MIME type of the file.\n is_stream: Indicates whether the file is a stream.\n meta: Additional metadata used internally (should not be changed)."},"python_type":{"type":"filepath","description":""},"component":"File"}],"show_api":true,"description":"Zip all history for that user, if it exists and return it as a downloadable file."},"/lambda":{"parameters":[],"returns":[],"show_api":true,"description":""},"/lambda_1":{"parameters":[],"returns":[],"show_api":true,"description":""},"/_delete_user_history":{"parameters":[],"returns":[],"show_api":true,"description":"Delete all history for that user."},"/lambda_2":{"parameters":[],"returns":[],"show_api":true,"description":""},"/_check_login_status":{"parameters":[],"returns":[],"show_api":true,"description":""},"/_fetch_user_history_1":{"parameters":[],"returns":[{"label":"Past images","type":{"$defs":{"FileData":{"description":"The FileData class is a subclass of the GradioModel class that represents a file object within a Gradio interface. It is used to store file data and metadata when a file is uploaded.\n\nAttributes:\n path: The server file path where the file is stored.\n url: The normalized server URL pointing to the file.\n size: The size of the file in bytes.\n orig_name: The original filename before upload.\n mime_type: The MIME type of the file.\n is_stream: Indicates whether the file is a stream.\n meta: Additional metadata used internally (should not be changed).","properties":{"path":{"title":"Path","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Mime Type"},"is_stream":{"default":false,"title":"Is Stream","type":"boolean"},"meta":{"$ref":"#/$defs/FileDataMeta"}},"required":["path"],"title":"FileData","type":"object"},"FileDataMeta":{"properties":{"_type":{"const":"gradio.FileData","title":"Type","type":"string"}},"required":["_type"],"title":"FileDataMeta","type":"object"},"GalleryImage":{"properties":{"image":{"$ref":"#/$defs/ImageData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["image"],"title":"GalleryImage","type":"object"},"GalleryVideo":{"properties":{"video":{"$ref":"#/$defs/FileData"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Caption"}},"required":["video"],"title":"GalleryVideo","type":"object"},"ImageData":{"description":"For input, either path or url must be provided. For output, path is always provided.","properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a local file","title":"Path"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Publicly available url or base64 encoded image","title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Size of image in bytes","title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original filename","title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"mime type of image","title":"Mime Type"},"is_stream":{"default":false,"description":"Can always be set to False","title":"Is Stream","type":"boolean"},"meta":{"additionalProperties":true,"default":{"_type":"gradio.FileData"},"title":"Meta","type":"object"}},"title":"ImageData","type":"object"}},"items":{"anyOf":[{"$ref":"#/$defs/GalleryImage"},{"$ref":"#/$defs/GalleryVideo"}]},"title":"GalleryData","type":"array","additional_description":null},"python_type":{"type":"list[dict(image: dict(path: str | None (Path to a local file), url: str | None (Publicly available url or base64 encoded image), size: int | None (Size of image in bytes), orig_name: str | None (Original filename), mime_type: str | None (mime type of image), is_stream
86: bool (Can always be set to False), meta: dict(str, Any)), caption: str | None) | dict(video: filepath, caption: str | None)]","description":""},"component":"Gallery"}],"show_api":true,"description":"Return saved history for that user, if it exists."},"/_inner":{"parameters":[],"returns":[{"label":"value_42","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Markdown"}],"show_api":true,"description":""}},"unnamed_endpoints":{}};</script>
86 87 88 <link rel="preconnect" href="https://fonts.googleapis.com" /> 89 <link 90 rel="preconnect" 91 href="https://fonts.gstatic.com" 92 crossorigin="anonymous" 93 /> 94
94<script 95 src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js" 96 async 97 ></script>
97 98 99 <link rel="manifest" href="/manifest.json" /> 100
100<script type="module" crossorigin src="./assets/index-tg5Kngjw.js"></script>
100 101 <link rel="stylesheet" crossorigin href="./assets/index-VP_F19pe.css"> 102 </head> 103 104 <body 105 style=" 106 width: 100%; 107 margin: 0; 108 padding: 0; 109 display: flex; 110 flex-direction: column; 111 flex-grow: 1; 112 " 113 > 114 <gradio-app 115 control_page_title="true" 116 embed="false" 117 eager="true" 118 style="display: flex; flex-direction: column; flex-grow: 1" 119 > 120 </gradio-app> 121
121<script> 122 const ce = document.getElementsByTagName("gradio-app"); 123 124 if (ce[0]) { 125 ce[0].addEventListener("domchange", () => { 126 document.body.style.padding = "0"; 127 }); 128 document.body.style.padding = "0"; 129 } 130 </script>
130 131 </body> 132</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.