Tester / Downloads
AdamOswald1's picture
Upload 8 files
e22d59d
raw
history blame
17.2 kB
<!DOCTYPE html>
<html lang="en" style="margin: 0; padding: 0; min-height: 100%">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1"
/>
<meta property="og:url" content="https://gradio.app/" />
<meta property="og:type" content="website" />
<meta property="og:image" content="" />
<meta property="og:title" content="Gradio" />
<meta
property="og:description"
content=""
/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:creator" content="@teamGradio" />
<meta name="twitter:title" content="Gradio" />
<meta
name="twitter:description"
content=""
/>
<meta name="twitter:image" content="" />
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "UA-156449732-1");
window.__gradio_mode__ = "app";
</script>
<script>window.gradio_config = {"version":"3.17.0\n","mode":"blocks","dev_mode":false,"components":[{"id":1,"type":"html","props":{"value":"\n \u003cdiv class=\"finetuned-diffusion-div\"\u003e\n \u003cdiv\u003e\n \u003ch1\u003eFinetuned Diffusion\u003c/h1\u003e\n \u003c/div\u003e\n \u003cp\u003e\n BROKEN, USE COLLAB VERSION INSTEAD!\n \u003c/p\u003e\n \u003cp\u003e\n Demo for multiple fine-tuned Stable Diffusion models, trained on different styles: \u003cbr\u003e\n \u003ca href=\"https://huggingface.co/nitrosocke/Arcane-Diffusion\"\u003eArcane\u003c/a\u003e, \u003ca href=\"https://huggingface.co/nitrosocke/archer-diffusion\"\u003eArcher\u003c/a\u003e, \u003ca href=\"https://huggingface.co/nitrosocke/elden-ring-diffusion\"\u003eElden Ring\u003c/a\u003e, \u003ca href=\"https://huggingface.co/nitrosocke/spider-verse-diffusion\"\u003eSpider-Verse\u003c/a\u003e, \u003ca href=\"https://huggingface.co/nitrosocke/mo-di-diffusion\"\u003eModern Disney\u003c/a\u003e, \u003ca href=\"https://huggingface.co/nitrosocke/classic-anim-diffusion\"\u003eClassic Disney\u003c/a\u003e, \u003ca href=\"https://huggingface.co/dallinmackay/Van-Gogh-diffusion\"\u003eLoving Vincent (Van Gogh)\u003c/a\u003e, \u003ca href=\"https://huggingface.co/nitrosocke/redshift-diffusion\"\u003eRedshift renderer (Cinema4D)\u003c/a\u003e, \u003ca href=\"https://huggingface.co/prompthero/midjourney-v4-diffusion\"\u003eMidjourney v4 style\u003c/a\u003e, \u003ca href=\"https://huggingface.co/hakurei/waifu-diffusion\"\u003eWaifu\u003c/a\u003e, \u003ca href=\"https://huggingface.co/lambdalabs/sd-pokemon-diffusers\"\u003ePokémon\u003c/a\u003e, \u003ca href=\"https://huggingface.co/AstraliteHeart/pony-diffusion\"\u003ePony Diffusion\u003c/a\u003e, \u003ca href=\"https://huggingface.co/nousr/robo-diffusion\"\u003eRobo Diffusion\u003c/a\u003e, \u003ca href=\"https://huggingface.co/DGSpitzer/Cyberpunk-Anime-Diffusion\"\u003eCyberpunk Anime\u003c/a\u003e, \u003ca href=\"https://huggingface.co/dallinmackay/Tron-Legacy-diffusion\"\u003eTron Legacy\u003c/a\u003e, \u003ca href=\"https://huggingface.co/Fictiverse/Stable_Diffusion_BalloonArt_Model\"\u003eBalloon Art\u003c/a\u003e + in colab notebook you can load any other Diffusers 🧨 SD model hosted on HuggingFace 🤗.\n \u003c/p\u003e\n \u003cp\u003eYou can skip the queue and load custom models in the colab: \u003ca href=\"https://colab.research.google.com/gist/AdamOswald/fe67300b1b3638d610038cde5e145b0b/copy-of-fine-tuned-diffusion-gradio.ipynb\"\u003e\u003cimg data-canonical-src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\" src=\"https://camo.githubusercontent.com/84f0493939e0c4de4e6dbe113251b4bfb5353e57134ffd9fcab6b8714514d4d1/68747470733a2f2f636f6c61622e72657365617263682e676f6f676c652e636f6d2f6173736574732f636f6c61622d62616467652e737667\"\u003e\u003c/a\u003e\u003c/p\u003e\n Running on \u003cb\u003eGPU 🔥\u003c/b\u003e in a \u003cb\u003eGoogle Colab\u003c/b\u003e.\n \u003c/p\u003e\n \u003cp\u003eYou can also duplicate this space and upgrade to gpu by going to settings:\u003cbr\u003e\n \u003ca style=\"display:inline-block\" href=\"https://huggingface.co/spaces/anzorq/finetuned_diffusion?duplicate=true\"\u003e\u003cimg src=\"https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white\u0026style=flat\u0026logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC\u0026logoWidth=14\" alt=\"Duplicate Space\"\u003e\u003c/a\u003e\u003c/p\u003e\n \u003c/div\u003e\n ","show_label":true,"name":"html","visible":true,"style":{}}},{"id":2,"type":"row","props":{"type":"row","variant":"default","visible":true,"style":{}}},{"id":3,"type":"column","props":{"type":"column","variant":"default","scale":55,"min_width":320,"visible":true,"style":{}}},{"id":4,"type":"group","props":{"type":"group","visible":true,"style":{}}},{"id":5,"type":"dropdown","props":{"choices":["Custom model","Arcane","Dreamlike Diffusion 1.0","Archer","Anything V3","Modern Disney","Classic Disney","Loving Vincent (Van Gogh)","Wavyfusion","Analog Diffusion","Redshift renderer (Cinema4D)","Midjourney v4 style","Waifu","Cyberpunk Anime","Elden Ring","TrinArt v2","Spider-Verse","Balloon Art","Tron Legacy","Pokémon","Pony Diffusion","Robo Diffusion","Epic Diffusion","Space Machine","Spacecraft","TARDIS","Modern Era TARDIS Interior","Classic Era TARDIS Interior","Spacecraft Interior","CLIP","Genshin Waifu","Genshin","Waifu","Pokémon","Test","Test2","Anime","Beeple","Avatar","Poolsuite"],"value":"Arcane","label":"Model","show_label":true,"name":"dropdown","visible":true,"style":{}}},{"id":6,"type":"box","props":{"type":"box","visible":false,"style":{}}},{"id":7,"type":"textbox","props":{"lines":1,"max_lines":20,"placeholder":"Path to model, e.g. nitrosocke/Arcane-Diffusion","value":"","type":"text","label":"Custom model path","show_label":true,"interactive":true,"name":"textbox","visible":true,"style":{}}},{"id":8,"type":"html","props":{"value":"\u003cdiv\u003e\u003cfont size=\u00272\u0027\u003eCustom models have to be downloaded first, so give it some time.\u003c/font\u003e\u003c/div\u003e","show_label":true,"name":"html","visible":true,"style":{}}},{"id":9,"type":"form","props":{"type":"form","visible":true,"style":{}}},{"id":10,"type":"row","props":{"type":"row","variant":"compact","visible":true,"style":{}}},{"id":11,"type":"textbox","props":{"lines":1,"max_lines":2,"placeholder":"Enter prompt. Style applied automatically","value":"","type":"text","label":"Prompt","show_label":false,"name":"textbox","visible":true,"style":{"container":false}}},{"id":12,"type":"button","props":{"value":"Generate","variant":"secondary","name":"button","visible":true,"style":{}}},{"id":13,"type":"form","props":{"type":"form","visible":true,"style":{}}},{"id":14,"type":"gallery","props":{"value":[],"label":"Generated images","show_label":false,"name":"gallery","visible":true,"elem_id":"gallery","style":{"grid":[2],"height":"auto"}}},{"id":15,"type":"textbox","props":{"lines":1,"max_lines":2,"value":"","type":"text","label":"State","show_label":false,"name":"textbox","visible":true,"style":{"container":false}}},{"id":16,"type":"markdown","props":{"value":"","name":"markdown","visible":true,"style":{}}},{"id":17,"type":"form","props":{"type":"form","visible":true,"style":{}}},{"id":18,"type":"column","props":{"type":"column","variant":"default","scale":45,"min_width":320,"visible":true,"style":{}}},{"id":19,"type":"tabitem","props":{"label":"Options","visible":true,"style":{}}},{"id":20,"type":"group","props":{"type":"group","visible":true,"style":{}}},{"id":21,"type":"textbox","props":{"lines":1,"max_lines":20,"placeholder":"What to exclude from the image","value":"","type":"text","label":"Negative prompt","show_label":true,"name":"textbox","visible":true,"style":{}}},{"id":22,"type":"slider","props":{"minimum":1,"maximum":8,"step":1,"value":1,"label":"Images","show_label":true,"name":"slider","visible":true,"style":{}}},{"id":23,"type":"row","props":{"type":"row","variant":"default","visible":true,"style":{}}},{"id":24,"type":"slider","props":{"minimum":0,"maximum":15,"step":0.1,"value":7.5,"label":"Guidance scale","show_label":true,"name":"slider","visible":true,"style":{}}},{"id":25,"type":"slider","props":{"minimum":2,"maximum":300,"step":1,"value":25,"label":"Steps","show_label":true,"name":"slider","visible":true,"style":{}}},{"id":26,"type":"form","props":{"type":"form","visible":true,"style":{}}},{"id":27,"type":"row","props":{"type":"row","variant":"default","visible":true,"style":{}}},{"id":28,"type":"slider","props":{"minimum":64,"maximum":1024,"step":8,"value":512,"label":"Width","show_label":true,"name":"slider","visible":true,"style":{}}},{"id":29,"type":"slider","props":{"minimum":64,"maximum":1024,"step":8,"value":512,"label":"Height","show_label":true,"name":"slider","visible":true,"style":{}}},{"id":30,"type":"form","props":{"type":"form","visible":true,"style":{}}},{"id":31,"type":"slider","props":{"minimum":0,"maximum":2147483647,"step":1,"value":0,"label":"Seed (0 = random)","show_label":true,"name":"slider","visible":true,"style":{}}},{"id":32,"type":"form","props":{"type":"form","visible":true,"style":{}}},{"id":33,"type":"form","props":{"type":"form","visible":true,"style":{}}},{"id":34,"type":"tabitem","props":{"label":"Image to image","visible":true,"style":{}}},{"id":35,"type":"group","props":{"type":"group","visible":true,"style":{}}},{"id":36,"type":"image","props":{"image_mode":"RGB","source":"upload","tool":"editor","streaming":false,"mirror_webcam":true,"label":"Image","show_label":true,"name":"image","visible":true,"style":{}}},{"id":37,"type":"slider","props":{"minimum":0,"maximum":1,"step":0.01,"value":0.5,"label":"Transformation strength","show_label":true,"name":"slider","visible":true,"style":{}}},{"id":38,"type":"form","props":{"type":"form","visible":true,"style":{}}},{"id":39,"type":"tabs","props":{"visible":true,"style":{}}},{"id":40,"type":"dataset","props":{"components":["dropdown","textbox","slider","slider"],"headers":["Model","Prompt","Guidance scale","Steps"],"samples":[["Loving Vincent (Van Gogh)","tiny cute and adorable kitten adventurer dressed in a warm overcoat with survival gear on a winters day",7.5,25],["Anything V3","portrait of dwayne johnson",7.0,35],["Modern Disney","portrait of a beautiful alyx vance half life",10,25],["Classic Disney","Aloy from Horizon: Zero Dawn, half body portrait, smooth, detailed armor, beautiful face, illustration",7.0,30],["Modern Disney","fantasy portrait painting, digital art",4.0,20]],"type":"index","samples_per_page":10,"name":"dataset","visible":true,"style":{}}},{"id":41,"type":"html","props":{"value":"\n \u003cdiv style=\"border-top: 1px solid #303030;\"\u003e\n \u003cbr\u003e\n \u003cp\u003eModels by \u003ca href=\"https://huggingface.co/nitrosocke\"\u003e@nitrosocke\u003c/a\u003e, \u003ca href=\"https://twitter.com/haruu1367\"\u003e@haruu1367\u003c/a\u003e, \u003ca href=\"https://twitter.com/DGSpitzer\"\u003e@Helixngc7293\u003c/a\u003e, \u003ca href=\"https://twitter.com/dal_mack\"\u003e@dal_mack\u003c/a\u003e, \u003ca href=\"https://twitter.com/prompthero\"\u003e@prompthero\u003c/a\u003e and others. ❤️\u003c/p\u003e\n \u003cp\u003eThis space uses the \u003ca href=\"https://github.com/LuChengTHU/dpm-solver\"\u003eDPM-Solver++\u003c/a\u003e sampler by \u003ca href=\"https://arxiv.org/abs/2206.00927\"\u003eCheng Lu, et al.\u003c/a\u003e.\u003c/p\u003e\n \u003cp\u003eSpace by:\u003cbr\u003e\n \u003ca href=\"https://twitter.com/hahahahohohe\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/hahahahohohe?label=%40anzorq\u0026style=social\" alt=\"Twitter Follow\"\u003e\u003c/a\u003e\u003cbr\u003e\n \u003ca href=\"https://github.com/qunash\"\u003e\u003cimg alt=\"GitHub followers\" src=\"https://img.shields.io/github/followers/qunash?style=social\" alt=\"Github Follow\"\u003e\u003c/a\u003e\u003c/p\u003e\u003cbr\u003e\u003cbr\u003e\n \u003ca href=\"https://www.buymeacoffee.com/anzorq\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 45px !important;width: 162px !important;\" \u003e\u003c/a\u003e\u003cbr\u003e\u003cbr\u003e\n \u003cp\u003e\u003cimg src=\"https://visitor-badge.glitch.me/badge?page_id=anzorq.finetuned_diffusion\" alt=\"visitors\"\u003e\u003c/p\u003e\n \u003c/div\u003e\n ","show_label":true,"name":"html","visible":true,"style":{}}}],"theme":"default","css":".finetuned-diffusion-div div{\n display:inline-flex;\n align-items:center;\n gap:.8rem;\n font-size:1.75rem\n}\n.finetuned-diffusion-div div h1{\n font-weight:900;\n margin-bottom:7px\n}\n.finetuned-diffusion-div p{\n margin-bottom:10px;\n font-size:94%\n}\na{\n text-decoration:underline\n}\n.tabs{\n margin-top:0;\n margin-bottom:0\n}\n#gallery{\n min-height:20rem\n}\n","title":"Gradio","is_space":false,"enable_queue":true,"show_error":false,"show_api":true,"is_colab":false,"layout":{"id":0,"children":[{"id":1},{"id":2,"children":[{"id":3,"children":[{"id":4,"children":[{"id":5},{"id":6,"children":[{"id":9,"children":[{"id":7}]},{"id":8}]},{"id":10,"children":[{"id":13,"children":[{"id":11}]},{"id":12}]},{"id":14}]},{"id":17,"children":[{"id":15}]},{"id":16}]},{"id":18,"children":[{"id":39,"children":[{"id":19,"children":[{"id":20,"children":[{"id":32,"children":[{"id":21},{"id":22}]},{"id":23,"children":[{"id":26,"children":[{"id":24},{"id":25}]}]},{"id":27,"children":[{"id":30,"children":[{"id":28},{"id":29}]}]},{"id":33,"children":[{"id":31}]}]}]},{"id":34,"children":[{"id":35,"children":[{"id":36},{"id":38,"children":[{"id":37}]}]}]}]}]}]},{"id":40},{"id":41}]},"dependencies":[{"targets":[5],"trigger":"change","inputs":[5],"outputs":[6,11],"backend_fn":true,"js":null,"queue":false,"api_name":null,"scroll_to_output":false,"show_progress":true,"every":null,"batch":false,"max_batch_size":4,"cancels":[]},{"targets":[7],"trigger":"change","inputs":[7],"outputs":[],"backend_fn":true,"js":null,"queue":null,"api_name":null,"scroll_to_output":false,"show_progress":true,"every":null,"batch":false,"max_batch_size":4,"cancels":[]},{"targets":[25],"trigger":"change","inputs":[25],"outputs":[],"backend_fn":true,"js":null,"queue":false,"api_name":null,"scroll_to_output":false,"show_progress":true,"every":null,"batch":false,"max_batch_size":4,"cancels":[]},{"targets":[11],"trigger":"submit","inputs":[5,11,24,25,22,28,29,31,36,37,21],"outputs":[14,16],"backend_fn":true,"js":null,"queue":null,"api_name":null,"scroll_to_output":false,"show_progress":true,"every":null,"batch":false,"max_batch_size":4,"cancels":[]},{"targets":[12],"trigger":"click","inputs":[5,11,24,25,22,28,29,31,36,37,21],"outputs":[14,16],"backend_fn":true,"js":null,"queue":null,"api_name":null,"scroll_to_output":false,"show_progress":true,"every":null,"batch":false,"max_batch_size":4,"cancels":[]},{"targets":[40],"trigger":"click","inputs":[40],"outputs":[5,11,24,25],"backend_fn":true,"js":null,"queue":false,"api_name":null,"scroll_to_output":false,"show_progress":true,"every":null,"batch":false,"max_batch_size":4,"cancels":[]},{"targets":[],"trigger":"load","inputs":[15],"outputs":[15],"backend_fn":true,"js":null,"queue":null,"api_name":null,"scroll_to_output":false,"show_progress":false,"every":0.5,"batch":false,"max_batch_size":4,"cancels":[]}]};</script>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link
rel="preconnect"
href="https://fonts.gstatic.com"
crossorigin="anonymous"
/>
<link
href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&display=swap"
rel="stylesheet"
/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"></script>
<script type="module" crossorigin src="https://gradio.s3-us-west-2.amazonaws.com/3.17.0/assets/index.2d0d4ca5.js"></script>
</head>
<body style="width: 100%; margin: 0; padding: 0; height: 100%">
<gradio-app control_page_title="true">
<div
id="root"
style="display: flex; flex-direction: column; flex-grow: 1"
></div>
</gradio-app>
<script>
const ce = document.getElementsByTagName("gradio-app");
if (ce[0]) {
ce[0].addEventListener("domchange", () => {
document.body.style.padding = "0";
});
document.body.style.padding = "0";
}
</script>
</body>
</html>