1<!doctype html> 2<html 3 lang="en" 4 style=" 5 margin: 0; 6 padding: 0; 7 min-height: 100%; 8 display: flex; 9 flex-direction: column; 10 " 11> 12 <head> 13 <meta charset="utf-8" /> 14 <meta 15 name="viewport" 16 content="width=device-width, initial-scale=1, shrink-to-fit=no" 17 /> 18 19 20 <meta property="og:url" content="https://gradio.app/" /> 21 <meta property="og:type" content="website" /> 22 <meta property="og:image" content="" /> 23 <meta property="og:title" content="Gradio" /> 24 <meta 25 property="og:description" 26 content="" 27 /> 28 <meta name="twitter:card" content="summary_large_image" /> 29 <meta name="twitter:creator" content="@teamGradio" /> 30 <meta name="twitter:title" content="Gradio" /> 31 <meta 32 name="twitter:description" 33 content="" 34 /> 35 <meta name="twitter:image" content="" /> 36 37
37<script data-gradio-mode> 38 window.__gradio_mode__ = "app"; 39 window.iFrameResizer = { 40 heightCalculationMethod: "taggedElement" 41 }; 42 </script>
42 43 44
44<script>window.gradio_config = {"version":"4.13.0","mode":"blocks","app_id":5224243563087772283,"dev_mode":false,"analytics_enabled":true,"components":[{"id":1,"type":"markdown","props":{"value":"# \u003ccenter\u003eLightweight Text-to-Image Generation Demo\u003c/center\u003e\n\n\n\u003cbr/\u003e\n\n\u003cp align=\"center\"\u003e\n \u003ca href=\"https://arxiv.org/abs/2305.15798\"\u003e\u003cimg src=\"https://img.shields.io/badge/arXiv-2305.15798-b31b1b.svg?style=flat-square\" style=\"display:inline;\"\u003e\u003c/a\u003e\n \u003ca href=\"https://huggingface.co/spaces/nota-ai/compressed-stable-diffusion\"\u003e\u003cimg src=\"https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fhuggingface.co%2Fspaces%2Fnota-ai%2Fcompressed-stable-diffusion\u0026count_bg=%23325AC8\u0026title_bg=%23112344\u0026icon=\u0026icon_color=%23E7E7E7\u0026title=HITS\u0026edge_flat=true\" style=\"display:inline;\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cbr/\u003e","show_label":true,"rtl":false,"latex_delimiters":[{"left"
44:"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"sanitize_html":true,"line_breaks":false,"header_links":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"0f35515b9a3362b42bb6721c836157a0","api_info":{"type":"string"},"example_inputs":"# Hello!"},{"id":2,"type":"markdown","props":{"value":"This demo showcases a lightweight Stable Diffusion model (SDM) for general-purpose text-to-image synthesis. Our model [**BK-SDM-Small**](https://huggingface.co/nota-ai/bk-sdm-small) achieves **36% reduced** parameters and latency. This model is bulit with (i) removing several residual and attention blocks from the U-Net of [SDM-v1.4](https://huggingface.co/CompVis/stable-diffusion-v1-4) and (ii) distillation pretraining on only 0.22M LAION pairs (fewer than 0.1% of the full training set). Despite very limited training resources, our model can imitate the original SDM by benefiting from transferred knowledge.\n- **For more information \u0026 acknowledgments**, please see [Paper](https://arxiv.org/abs/2305.15798), [GitHub](https://github.com/Nota-NetsPresso/BK-SDM), BK-SDM-{[Base](https://huggingface.co/nota-ai/bk-sdm-base), [Small](https://huggingface.co/nota-ai/bk-sdm-small), [Tiny](https://huggingface.co/nota-ai/bk-sdm-tiny)} Model Card.\n \n\u003ccenter\u003e\n \u003cimg alt=\"U-Net architectures and KD-based pretraining\" img src=\"https://huggingface.co/spaces/nota-ai/compressed-stable-diffusion/resolve/91f349ab3b900cbfec20163edd6a312d1e8c8193/docs/fig_model.png\" width=\"65%\"\u003e\n\u003c/center\u003e\n\n\u003cbr/\u003e\n\n- This research was accepted to [**ICCV 2023 Demo Track**](https://iccv2023.thecvf.com/demos-111.php) \u0026 [**ECCV 2024**](https://arxiv.org/abs/2305.15798).\n- Please be aware that your prompts are logged, _without_ any personally identifiable information.\n- For different images with the same prompt, please change _Random Seed_ in Advanced Settings (because of using the firstly sampled latent code per seed).\n\n\u003cbr/\u003e\n**Demo Environment**: [Oct/08/2023] Free CPU-basic (2 vCPU · 16 GB RAM) â 7~10 min slow inference (for a 512Ã512 image with 25 denoising steps)\n\u003cbr/\u003e\n\n- ð Better to use [Hosted inference API in Our Model Card](https://huggingface.co/nota-ai/bk-sdm-small)\n\n\u003cdetails\u003e\n\u003csummary\u003ePrevious Env Setup:\u003c/summary\u003e\n[Oct/01/2023] NVIDIA T4-small (4 vCPU · 15 GB RAM · 16GB VRAM) â 5~10 sec inference.\n\u003cbr/\u003e\n[Sept/01/2023] Free CPU-basic (2 vCPU · 16 GB RAM) â 7~10 min slow inference.\n\u003cbr/\u003e\n[Aug/01/2023] NVIDIA T4-small (4 vCPU · 15 GB RAM · 16GB VRAM) â 5~10 sec inference.\n\u003cbr/\u003e\n[July/31/2023] Free CPU-basic (2 vCPU · 16 GB RAM) â 7~10 min slow inference.\n\u003cbr/\u003e\n[July/27/2023] NVIDIA T4-small (4 vCPU · 15 GB RAM · 16GB VRAM) â 5~10 sec inference.\n\u003cbr/\u003e\n[June/30/2023] Free CPU-basic (2 vCPU · 16 GB RAM) â 7~10 min slow inference.\n\u003cbr/\u003e\n[May/31/2023] NVIDIA T4-small (4 vCPU · 15 GB RAM · 16GB VRAM) â 5~10 sec inference.\n\u003c/details\u003e","show_label":true,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"sanitize_html":true,"line_breaks":false,"header_links":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"0f35515b9a3362b42bb6721c836157a0","api_info":{"type":"string"},"example_inputs":"# Hello!"},{"id":3,"type":"row","props":{"variant":"default","visible":true,"equal_height":true,"name":"row"},"skip_api":true,"component_class_id":"b5cf3d15e2293fb5ccc071d7b8d69f64"},{"id":4,"type":"column","props":{"scale":30,"min_width":320,"variant":"panel","visible":true,"name":"column"},"skip_api":true,"component_class_id":"214e3d6261b9edacc5d34ea4e8655821"},{"id":5,"type":"textbox","props":{"value":"","lines":1,"max_lines":5,"placeholder":"Enter your prompt","label":"Input Prompt","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"type":"text","rtl":false,"show_copy_button":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"d0491bb0fbd427bdb2a4549c4d1ac869","api_info":{"type":"string"},"example_inputs":"Hello!!"},{"id":6,"type":"row","props":{"variant":"default","visible":true,"equal_height":true,"name":"row"},"skip_api":true,"component_class_id":"b5cf3d15e2293fb5ccc071d7b8d69f64"},{"id":7,"type":"button","props":{"value":"Generate with Original Model","variant":"primary","visible":true,"interactive":true,"elem_classes":[],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"43ff9969f0bf4553b77ca8dc5b4850bc"},{"id":8,"type":"button","props":{"value":"Generate with Compressed Model","variant":"primary","visible":true,"interactive":true,"elem_classes":[],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"43ff9969f0bf4553b77ca8dc5b4850bc"},{"id":9,"type":"accordion","props":{"label":"Advanced Settings","open":false,"visible":true,"name":"accordion"},"skip_api":true,"component_class_id":"b49c1903c3591b866d0adab5a2f6e48b"},{"id":10,"type":"textbox","props":{"value":"","lines":1,"max_lines":20,"placeholder":"Enter aspects to remove (e.g., low quality)","label":"Negative Prompt","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"type":"text","rtl":false,"show_copy_button":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"d0491bb0fbd427bdb2a4549c4d1ac869","api_info":{"type":"string"},"example_inputs":"Hello!!"},{"id":11,"type":"row","props":{"variant":"default","visible":true,"equal_height":true,"name":"row"},"skip_api":true,"component_class_id":"b5cf3d15e2293fb5ccc071d7b8d69f64"},{"id":12,"type":"slider","props":{"minimum":4,"maximum":11,"value":7.5,"step":0.5,"label":"Guidance Scale","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"name":"slider","_selectable":false},"skip_api":false,"component_class_id":"1bc15a255bbbd15b85b58706accd599f","api_info":{"type":"number","description":"numeric value between 4 and 11"},"example_inputs":4},{"id":13,"type":"slider","props":{"minimum":10,"maximum":75,"value":25,"step":5,"label":"Denoising Steps","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"name":"slider","_selectable":false},"skip_api":false,"component_class_id":"1bc15a255bbbd15b85b58706accd599f","api_info":{"type":"number","description":"numeric value between 10 and 75"},"example_inputs":10},{"id":14,"type":"slider","props":{"minimum":0,"maximum":999999,"value":1234,"step":1,"label":"Random Seed","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"name":"slider","_selectable":false},"skip_api":false,"component_class_id":"1bc15a255bbbd15b85b58706accd599f","api_info":{"type":"number","description":"numeric value between 0 and 999999"},"example_inputs":0},{"id":15,"type":"form","props":{"scale":3,"min_width":480,"name":"form"},"skip_api":true,"component_class_id":"43cda85c6ff7a5dd8f83d29496b014ee"},{"id":16,"type":"form","props":{"scale":0,"min_width":0,"name":"form"},"skip_api":true,"component_class_id":"43cda85c6ff7a5dd8f83d29496b014ee"},{"id":17,"type":"tabitem","props":{"label":"Example Prompts","name":"tabitem"},"skip_api":true,"component_class_id":"18f46968e2b273dc5dbda0fe78433d7e"},{"id":18,"type":"dataset","props":{"samples":[["a tropical bird sitting on a branch of a tree"],["many decorative umbrellas hanging up"],["an orange cat staring off with pretty eyes"],["beautiful woman face with fancy makeup"],["a decorated living room with a stylish feel"],["a black vase holding a bouquet of roses"],["very elegant bedroom featuring natural wood"],["buffet-style food including cake and cheese"],["a tall castle sitting under a cloudy sky"],["closeup of a brown bear sitting in a grassy area"],["a large basket with many fresh vegetables"],["house being built with lots of wood"],["a close up of a pizza with several toppings"],["a golden vase with many different flows"],["a statue of a lion face attached to brick wall"],["something that looks particularly interesting"],["table filled with a variety of different dishes"],["a cinematic view of a large snowy peak"],["a grand city in the year 2100, hyper realistic"],["a blue eyed baby girl looking at the camera"]],"headers":["Input Prompt"],"type":"index","samples_per_page":10,"visible":true,"elem_classes":[],"container":true,"min_width":160,"name":"dataset","_selectable":false,"components":["textbox"],"component_props":[{"lines":1,"max_lines":5,"placeholder":"Enter your prompt","label":"Input Prompt","info":null,"show_label":true,"container":true,"scale":null,"min_width":160,"interactive":null,"visible":true,"elem_id":null,"autofocus":false,"autoscroll":true,"elem_classes":[],"type":"text","text_align":null,"rtl":false,"show_copy_button":false}],"component_ids":[5]},"skip_api":false,"component_class_id":"c72c93119b395a3f608fa8223dcae838","api_info":{"type":"integer","description":"index of selected example"},"example_inputs":0},{"id":19,"type":"form","props":{"scale":0,"min_width":0,"name":"form"},"skip_api":true,"component_class_id":"43cda85c6ff7a5dd8f83d29496b014ee"},{"id":20,"type":"tabs","props":{"visible":true,"name":"tabs"},"skip_api":true,"component_class_id":"3e4202431baca71099b95e73fb9d900c"},{"id":21,"type":"column","props":{"scale":35,"min_width":320,"variant":"panel","visible":true,"name":"column"},"skip_api":true,"component_class_id":"214e3d6261b9edacc5d34ea4e8655821"}
44,{"id":22,"type":"markdown","props":{"value":"\u003ch2 align=\"center\"\u003eOriginal Stable Diffusion 1.4\u003c/h2\u003e","show_label":true,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"sanitize_html":true,"line_breaks":false,"header_links":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"0f35515b9a3362b42bb6721c836157a0","api_info":{"type":"string"},"example_inputs":"# Hello!"},{"id":23,"type":"image","props":{"streamable":false,"image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Original Model","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"mirror_webcam":true,"show_share_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"e02a10e58bbfd8f31d34ac63d2888247","api_info":{"properties":{"path":{"title":"Path","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Mime Type"}},"required":["path"],"title":"FileData","type":"object"},"example_inputs":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"},{"id":24,"type":"row","props":{"variant":"default","visible":true,"equal_height":true,"name":"row"},"skip_api":true,"component_class_id":"b5cf3d15e2293fb5ccc071d7b8d69f64"},{"id":25,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"name":"column"},"skip_api":true,"component_class_id":"214e3d6261b9edacc5d34ea4e8655821"},{"id":26,"type":"textbox","props":{"value":"","lines":1,"max_lines":20,"label":"Inference Time (sec)","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"type":"text","rtl":false,"show_copy_button":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"d0491bb0fbd427bdb2a4549c4d1ac869","api_info":{"type":"string"},"example_inputs":"Hello!!"},{"id":27,"type":"textbox","props":{"value":"Total 1032.1M (U-Net 859.5M)","lines":1,"max_lines":20,"label":"# Parameters","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"type":"text","rtl":false,"show_copy_button":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"d0491bb0fbd427bdb2a4549c4d1ac869","api_info":{"type":"string"},"example_inputs":"Hello!!"},{"id":28,"type":"form","props":{"scale":0,"min_width":0,"name":"form"},"skip_api":true,"component_class_id":"43cda85c6ff7a5dd8f83d29496b014ee"},{"id":29,"type":"markdown","props":{"value":"","show_label":true,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"sanitize_html":true,"line_breaks":false,"header_links":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"0f35515b9a3362b42bb6721c836157a0","api_info":{"type":"string"},"example_inputs":"# Hello!"},{"id":30,"type":"column","props":{"scale":35,"min_width":320,"variant":"panel","visible":true,"name":"column"},"skip_api":true,"component_class_id":"214e3d6261b9edacc5d34ea4e8655821"},{"id":31,"type":"markdown","props":{"value":"\u003ch2 align=\"center\"\u003eCompressed Stable Diffusion (Ours)\u003c/h2\u003e","show_label":true,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"sanitize_html":true,"line_breaks":false,"header_links":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"0f35515b9a3362b42bb6721c836157a0","api_info":{"type":"string"},"example_inputs":"# Hello!"},{"id":32,"type":"image","props":{"streamable":false,"image_mode":"RGB","sources":["upload","webcam","clipboard"],"type":"numpy","label":"Compressed Model","show_label":true,"show_download_button":true,"container":true,"min_width":160,"visible":true,"streaming":false,"elem_classes":[],"mirror_webcam":true,"show_share_button":true,"name":"image","_selectable":false},"skip_api":false,"component_class_id":"e02a10e58bbfd8f31d34ac63d2888247","api_info":{"properties":{"path":{"title":"Path","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Size"},"orig_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Orig Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Mime Type"}},"required":["path"],"title":"FileData","type":"object"},"example_inputs":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"},{"id":33,"type":"row","props":{"variant":"default","visible":true,"equal_height":true,"name":"row"},"skip_api":true,"component_class_id":"b5cf3d15e2293fb5ccc071d7b8d69f64"},{"id":34,"type":"column","props":{"scale":1,"min_width":320,"variant":"default","visible":true,"name":"column"},"skip_api":true,"component_class_id":"214e3d6261b9edacc5d34ea4e8655821"},{"id":35,"type":"textbox","props":{"value":"","lines":1,"max_lines":20,"label":"Inference Time (sec)","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"type":"text","rtl":false,"show_copy_button":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"d0491bb0fbd427bdb2a4549c4d1ac869","api_info":{"type":"string"},"example_inputs":"Hello!!"},{"id":36,"type":"textbox","props":{"value":"Total 654.9M (U-Net 482.3M)","lines":1,"max_lines":20,"label":"# Parameters","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"type":"text","rtl":false,"show_copy_button":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"d0491bb0fbd427bdb2a4549c4d1ac869","api_info":{"type":"string"},"example_inputs":"Hello!!"},{"id":37,"type":"form","props":{"scale":0,"min_width":0,"name":"form"},"skip_api":true,"component_class_id":"43cda85c6ff7a5dd8f83d29496b014ee"},{"id":38,"type":"markdown","props":{"value":"","show_label":true,"rtl":false,"latex_delimiters":[{"left"
44:"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"sanitize_html":true,"line_breaks":false,"header_links":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"0f35515b9a3362b42bb6721c836157a0","api_info":{"type":"string"},"example_inputs":"# Hello!"},{"id":39,"type":"markdown","props":{"value":"\u003cp align=\"center\"\u003e\n \u003ca href=\"https://netspresso.ai/\"\u003e\u003cimg src=\"https://huggingface.co/spaces/nota-ai/theme/resolve/main/docs/logo/nota_favicon_800x800.png\" width=\"96px\" height=\"96px\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr/\u003e","show_label":true,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"sanitize_html":true,"line_breaks":false,"header_links":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"0f35515b9a3362b42bb6721c836157a0","api_info":{"type":"string"},"example_inputs":"# Hello!"}],"css":"h1, h2, h3 {\n text-align: center;\n display:block;\n}","js":null,"head":null,"title":"Gradio","space_id":"nota-ai/compressed-stable-diffusion","enable_queue":true,"show_error":false,"show_api":true,"is_colab":false,"stylesheets":["https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600\u0026display=swap","https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600\u0026display=swap"],"theme":"default","protocol":"sse_v1","layout":{"id":0,"children":[{"id":1},{"id":2},{"id":3,"children":[{"id":4,"children":[{"id":19,"children":[{"id":5}]},{"id":6,"children":[{"id":7},{"id":8}]},{"id":9,"children":[{"id":16,"children":[{"id":10}]},{"id":11,"children":[{"id":15,"children":[{"id":12},{"id":13},{"id":14}]}]}]},{"id":20,"children":[{"id":17,"children":[{"id":18}]}]}]},{"id":21,"children":[{"id":22},{"id":23},{"id":24,"children":[{"id":25,"children":[{"id":28,"children":[{"id":26},{"id":27}]}]},{"id":29}]}]},{"id":30,"children":[{"id":31},{"id":32},{"id":33,"children":[{"id":34,"children":[{"id":37,"children":[{"id":35},{"id":36}]}]},{"id":38}]}]}]},{"id":39}]},"dependencies":[{"targets":[[18,"click"]],"inputs":[18],"outputs":[5],"backend_fn":true,"js":null,"queue":false,"api_name":"load_example","scroll_to_output":false,"show_progress":"hidden","every":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"continuous":false,"generator":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":false},{"targets":[[5,"submit"]],"inputs":[5,10,12,13,14],"outputs":[23,29,26],"backend_fn":true,"js":null,"queue":null,"api_name":"infer_original_model","scroll_to_output":false,"show_progress":"full","every":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"continuous":false,"generator":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true},{"targets":[[7,"click"]],"inputs":[5,10,12,13,14],"outputs":[23,29,26],"backend_fn":true,"js":null,"queue":null,"api_name":"infer_original_model_1","scroll_to_output":false,"show_progress":"full","every":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"continuous":false,"generator":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true},{"targets":[[5,"submit"]],"inputs":[5,10,12,13,14],"outputs":[32,38,35],"backend_fn":true,"js":null,"queue":null,"api_name":"infer_compressed_model","scroll_to_output":false,"show_progress":"full","every":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"continuous":false,"generator":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true},{"targets":[[8,"click"]],"inputs":[5,10,12,13,14],"outputs":[32,38,35],"backend_fn":true,"js":null,"queue":null,"api_name":"infer_compressed_model_1","scroll_to_output":false,"show_progress":"full","every":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"continuous":false,"generator":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_mode":"once","show_api":true}],"root":"https://nota-ai-compressed-stable-diffusion.hf.space/--replicas/hlhrm"};</script>
44 45 46 <link rel="preconnect" href="https://fonts.googleapis.com" /> 47 <link 48 rel="preconnect" 49 href="https://fonts.gstatic.com" 50 crossorigin="anonymous" 51 /> 52
52<script 53 src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.9/iframeResizer.contentWindow.min.js" 54 async 55 ></script>
55 56
56<script type="module" crossorigin src="./assets/index-6d9f7a14.js"></script>
56 57 <link rel="stylesheet" href="./assets/index-ec560a49.css"> 58 </head> 59 60 <body 61 style=" 62 width: 100%; 63 margin: 0; 64 padding: 0; 65 display: flex; 66 flex-direction: column; 67 flex-grow: 1; 68 " 69 > 70 <gradio-app 71 control_page_title="true" 72 embed="false" 73 eager="true" 74 style="display: flex; flex-direction: column; flex-grow: 1" 75 > 76 </gradio-app> 77
77<script> 78 const ce = document.getElementsByTagName("gradio-app"); 79 if (ce[0]) { 80 ce[0].addEventListener("domchange", () => { 81 document.body.style.padding = "0"; 82 }); 83 document.body.style.padding = "0"; 84 } 85 </script>
85 86 </body> 87</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.