diff --git "a/app.py" "b/app.py" --- "a/app.py" +++ "b/app.py" @@ -2,1779 +2,162 @@ import gradio as gr import os import sys from pathlib import Path - -models = [ - "Yntec/AtoZ", #799 - "digiplay/fantasticmix_k1", #797 - "Yntec/FilmGirlRemix", #795 - "digiplay/fCAnimeMix_v5", #798 - "Yntec/Vintage", #794 - "digiplay/BeautyFoolReality_4", #796 - "Yntec/UltraHighDefinition", #791 - "digiplay/endlessMixRenatus_v1.1", #Added 2023.07.10 updated 2024.05.30 - "Yntec/XenoGASM", #793 - "digiplay/DarkSushi2.5D_v1", #792 - "Yntec/DegreesOfFreedom", #790 - "digiplay/Perfect_Gap_Blend_v1", - "Yntec/ChickFlick", #787 - "digiplay/fCAnimeMix_v3", #786 - "Yntec/Film", #784 - "digiplay/BeautifulArt_v1", #785 - "Yntec/AnythingV7", #779 - "digiplay/BadAnime_v1", - "Yntec/LEOSAMsFilmGirlUltra", #783 - "digiplay/7pa-VAE", #782 - "Yntec/ArthemyComics", #781 - "digiplay/EtherRealMix_LUX2", - "Yntec/ReVAnimatedRemix", #780 - "digiplay/CampurSari_Gen1", - "Yntec/AnythingNostalgic", #775 - "digiplay/WhiteDreamyHillMix_v1_VAE", #713 - "Yntec/AnyLoRa-768", #778 - "digiplay/CCTV2.5d_v1", #219 - "Yntec/AnythingV5-768", #777 - "digiplay/LEAU", - "Yntec/Moistalgia", #773 - "digiplay/Colorful_v1.3", #774 - "Yntec/DeleteThis", #770 - "digiplay/CuriousMerge2.5D_v40E", #771 - "Yntec/ModernDisney", #764 - "digiplay/HadrianDelice_DeliceV1", #772 - "Yntec/IsThisDisney", #767 - "digiplay/MRMD_0505", #769 - "Yntec/RetroArt", #760 - "digiplay/YabaLMixAnimeRealistic_V1.0_VAE", #765 - "Yntec/Fanatic", #758 - "digiplay/fantastel_V1", #759 - "Yntec/Mo-Di-Diffusion-768", #768 - "digiplay/bluePencil_v09b", #766 - "Yntec/AnythingV4.5.6.7.8", #763 - "digiplay/majicMIX_realistic_v7", #761 - "Yntec/ElldrethsRetroMix", #4K - "digiplay/LemonCreami", #762 - "Yntec/Luxury", #750 - "digiplay/insaneRealistic_v1", - "Yntec/EpicMadness", #751 - "digiplay/ValMix2-byHemlok", #755 - "Yntec/DucHaitenAIart-beta", #3K - "digiplay/Acorn_Photo_v1", #757 - "Yntec/a-ZovyaRPGV4", #756 - "digiplay/EdisonNilMix_v1", # Added 7.10 Updated 12.5 - "Yntec/KrazyGlue", #745 - "digiplay/AnyPastel", #752 - "Yntec/EpicDiffusion", #753 - "digiplay/darkphoenix3D_v1.1", #748 - "Yntec/Crybaby", #739 - "digiplay/majicMIXfantasy_v2", #741 - "Yntec/majicmixLux", #749 - "digiplay/asyncsMIX_v5", - "digiplay/majicMIX_realistic_v5", #742 - "Yntec/insaneRealistic_v2", #746 - "digiplay/xiaomeige_outlineColor_v10", #744 - "digiplay/MixTape_RocknRoll_v3punk_bake_fp16", - "Yntec/AbyssOrangeMix", #740 - "digiplay/PerfectDeliberate-Anime_v2", #734 - "digiplay/SomethingPhenomenal_vivacityV2", #735 - "Yntec/CocaCola", #733 - "digiplay/majicMixHorror_v1", #738 - "digiplay/Noosphere_v4.2", #737 - "Yntec/Fanta", #730 - "digiplay/K-main_NEO", #731 - "digiplay/COCOtiFaMix_v2", #732 - "Yntec/endlessReality", #736 - "digiplay/Blazarot_blazaroshi", #729 - "digiplay/Photon_v1", - "Yntec/DreamPhotoGASM", #727 - "digiplay/Sweet-mix_v2.2_flat", #726 - "digiplay/snowpear_anime", #714 - "Yntec/NostalgicLife", #718 - "digiplay/pan04", #725 - "Yntec/Voxel", #715 - "digiplay/FishMix_v1.1", - "digiplay/chrysanthemumMix_v1", - "Yntec/DreamlikeDiffusion", #722 - "digiplay/mothmix_v1.41", #720 - "digiplay/BreakDro_i1464", #719 - "Yntec/HyperRealism", #721 - "digiplay/aurorafantasy_v1", #717 - "digiplay/CoharuMix_real", - "Yntec/Prodigy", #712 - "digiplay/ya3_xt", #711 - "digiplay/XtReMixUltimateMerge_v1.5", #710 - "Yntec/Protogen_Unofficial_Release", #709 - "digiplay/majicMIX_lux_v3", #708 - "digiplay/richyrichmix_V2Fp16", #707 - "Yntec/Timeless", #703 - "digiplay/seizamix_v2", #706 - "digiplay/AnalogMadness-realistic-model-v4", #705 - "Yntec/Fabulous", #700 - "digiplay/realspice_v2", #702 - "digiplay/supashymix_v30Lite", #701 - "Yntec/DucHaitenRetro2", #704 - "digiplay/BeautifulFantasyRealMix_diffusers", #698 - "Yntec/IncredibleLife", #699 - "digiplay/MGM", - "Yntec/AnythingV3.1", #699 - "digiplay/AstrAnime_v6", #698 - "Yntec/TimelessDiffusion768", #699 - "digiplay/Koji_v2.1_diffusers", - "Yntec/RetroLife", #691 - "digiplay/CamelliaMIx_2.5D_v1_VAE", #696 - "Yntec/CuteFurry", - "digiplay/MengX_Mix_Fantasy_v4", #689 - "Yntec/theallysMixIIChurned", #694 - "digiplay/MengX_Mix_Real_v3", - "Yntec/BrainDance", #693 - "digiplay/ARRealVX1.1", - "Yntec/Remedy", #697 - "digiplay/PlanetBumix_v1", - "Yntec/Paramount", - "digiplay/Yuzu_v1.1", #688 - "Yntec/Playground", #690 - "digiplay/AM-mix1", - "Yntec/Analog", - "digiplay/MeinaPastel_v1", - "Yntec/Tea", #687 - "digiplay/AingDiffusion7.5", - "Yntec/StableDiffusion768", #686 - "digiplay/perfectlevel10", #685 - "Yntec/IdleFancy", - "digiplay/Shadir_Diffusion_AR_v2.1_fp16_test1", - "Yntec/NyankoMotsiX", - "digiplay/GhostMixV1.2VAE", - "Yntec/DreamWorksRemix", - "digiplay/LuckyStrikeMix1.05_Lovelylady", - "Yntec/Looking-Glass", - "digiplay/AbsoluteReality_v1.0_diffusers", - "Yntec/epiCCartoon", - "digiplay/quincemix_v1", - "Yntec/DaintyMix", - "digiplay/fantasticmix_v7", - "Yntec/DucHaiten-AnyUnreal", - "digiplay/fantexi_v0.9", - "Yntec/Genuine", - "digiplay/OrangeChillMix_v7fix", - "Yntec/GoFish", - "digiplay/bluePencilRealistic_v05", - "Yntec/nuipenimix", - "digiplay/A80S_v1.0", - "Yntec/iffyMix", - "digiplay/lutDiffusion_v09Beta", - "Yntec/EmeraldCity", - "digiplay/CleanLinearMix", - "Yntec/animeSIXTYNINE", - "digiplay/PolyMorphMix", - "Yntec/AsianMix", - "digiplay/polla_mix_2.3D", - "Yntec/ResidentCNZCartoon3D", - "digiplay/AbsoluteReality_v1.8.1", - "Yntec/Memento", - "digiplay/RealCartoon3D_v6", - "Yntec/RealLife", - "digiplay/WolfSystems_v1", - "Yntec/Vintedois", - "digiplay/SXZ_Luma_v0.98VAE", - "Yntec/Based64", - "digiplay/NextGenMix_R2.8VAE", - "Yntec/SQUEE", - "digiplay/HIJKLMix_v2", - "Yntec/Aurora", - "digiplay/BeenReal_diffusers", - "Yntec/Paragon", - "digiplay/OnlyReal-Black-Mix", - "Yntec/Infinite80s", - "digiplay/AI-infinity-V1-fp16", - "Yntec/InfiniteLiberty", - "digiplay/XXMix_9realistic_v1", - "Yntec/aBagOfChips", - "digiplay/Dolka_Rusalka_v0.5.1", - "Yntec/IsThisArt", - "digiplay/YutaMix_realistic_v11", - "Yntec/Jackpot", - "digiplay/XRYCJ_RealisticModel", - "Yntec/C-.-_-.-Aravaggio", - "digiplay/RunDiffusionFX2.5D_v1_diffusers", - "Yntec/Stuff", - "digiplay/NightmareShaper_v2DarkageLobotomy", - "Yntec/LiberteRedmond", - "digiplay/nk15_diffusers", #230 - "Yntec/Emoticons", - "digiplay/2K", #216 - "Yntec/BabeBae", - "digiplay/2-KWI", #213 - "Yntec/SinkOrSwim", - "digiplay/majicMIXfantasy_v1", - "Yntec/Nostalgic", - "digiplay/yiSMix2.8D_v1", - "Yntec/mixRealisticFantasy", - "digiplay/hellopure_v2.23", - "Yntec/Astro_-_-Gemu", - "digiplay/YabaLMixTrue25D_V1.0", - "Yntec/StorybookRedmond", - "digiplay/ZHMix-Dramatic-v2.0", - "digiplay/fishmix_other_v1", - "Yntec/Cheesecake", - "digiplay/Gap_2.6", - "digiplay/ZemiHR_v2_diffusers", - "Yntec/GimmeDatDing", - "digiplay/ya3p_VAE", #258 - "digiplay/counterfeitV2525d_tweak", - "Yntec/Gacha", - "digiplay/ShadowGost_v1", - "digiplay/LemonTea2.5D", - "Yntec/GenerateMe", - "digiplay/xxgSl526_v1", - "digiplay/incursiosMemeDiffusion_v1.6", - "Yntec/incha_re_zoro", - "digiplay/m3u", #263 - "Yntec/GodMode", - "Yntec/FantassifiedIcons", - "Yntec/IncredibleWorld2", - "Yntec/IncredibleWorld", - "Yntec/TheDarkNight", - "Yntec/Cryptids", - "Yntec/Tantrum", - "Yntec/CutesyAnime", - "Yntec/HellSKitchen", - "Yntec/Kitsch-In-Sync", - "Yntec/La-dee-dah-.-_", - "Yntec/HELLmix", - "Yntec/AnalogMadness4", - "Yntec/Wonderland", - "Yntec/Atlas", - "Yntec/KomowataHaruka", - "Yntec/FotoPhoto", - "Yntec/Ambrosia", - "Yntec/Reliberate", - "Yntec/BaronMix", - "Yntec/ChilloutMix", - "Yntec/Shirayuki", - "Yntec/foto-assisted-diffusion", - "Yntec/elldrethSDreamMix", - "Yntec/mistoonEmerald2", - "Yntec/AnythingRemix", - "Yntec/AnalogMadness", - "Yntec/IronCatFateToons", - "Yntec/CultClassic", #1K - "Yntec/samaritan3dCartoon2MVAE", #1K - "Yntec/Crystalwave", #1k - "Yntec/Synthwave", - "Yntec/OG", #1k - "Yntec/Crayon", #1K - "Yntec/LuckyStrike", #1K - "Yntec/Deliberate", #1K - "Yntec/DeliberateRealisticWoop", #1K - "Yntec/EstheticRetroAnime", #1K - "Yntec/DucHaiten-GoldenLife", - "Yntec/3DCuteWave", - "Yntec/GoldenEra", #1K - "Yntec/ClassicEra", #1K - "Yntec/GoodLife", #1K - "Yntec/Hassanim", #1K - "Yntec/DeliberateRemix", #1K - "Yntec/HassanBlend12", #1K - "Yntec/HassanBlend1512VAE", #1K - "Yntec/MangledMerge3_768", #1K - "Yntec/OpenLexica", #1K - "Yntec/MapleSyrup", #1K - "Yntec/iComixRemix", #1K - "Yntec/SamaritanDoesArt", #1K - "Yntec/CinemaEros", #1K - "Yntec/CartoonStyleClassic", #1K - "Yntec/GalenaVAE", #1K - "Yntec/a-ZovyaRemix", #1K - "Yntec/a-ZovyaRPGArtistV2VAE", #2K - "Yntec/MemeDiffusion", #2K - "Yntec/Abased", #2k - "Yntec/SCMix", #2k - "Yntec/Hassaku", #2k - "Yntec/m0nst3rfy3", #2k - "Yntec/PotaytoPotahto", #2K - "Yntec/3DCute", #2K - "Yntec/SuperCuteRemix", #2K - "Yntec/Trending", #2K - "Yntec/a-ZovyaRPGV3VAE", #3K - "Yntec/StolenDreams", #3k - "Yntec/LeyLines", #3k - "Yntec/SillySymphonies", #3K - "Yntec/MeinaAlter", #3K - "Yntec/WoopWoopAnime", #3K - "Yntec/DreamWorld", #3K - "Yntec/MGM", #3K - "Yntec/3DKX/", #3K - "Yntec/3DKXv11", #3K - "Yntec/Cute", #3K - "Yntec/DreamFulV2", #3K - "Yntec/DucHaitenDarkside4", #3K - "Yntec/Citrus", #3K - "Yntec/Classic", #3K - "Yntec/BasilRemix", #3K - "Yntec/Yuzu", #4K - "Yntec/Protogen", #4K - "Yntec/BeautyFool", #4K - "Yntec/CyberRealistic", #4K - "Yntec/Lyriel", #4K - "Yntec/3DRendering", #4K - "Yntec/aMovieTrend", #2K - "Yntec/Dreamscape", #2K - "Yntec/elldrethSVividMix", #2K - "Yntec/elldrethSLucidMix", #2K - "Yntec/CitrineDreamMix", #2K - "Yntec/elldrethsImagination", #2K - "Yntec/ReVAnimated768", #2K - "Yntec/OpenNijiRemix", #2K - "Yntec/DreamShaperRemix", #2K - "Yntec/RadiantCinemagic", #2K - "Yntec/RadiantVibes", #1K - "Yntec/NeverEndingDream768", #2K - "Yntec/vividicAnime", #2K - "Yntec/WoopWoopRemix", #2K - "Yntec/ArcticFowl", #2K - "Yntec/CrystalClearRemix", #5k - "Yntec/CrystalClear", #3k - "Yntec/Reanimate", #5k - "Yntec/Deliberate2", #5k - "Yntec/526", #5k - "Yntec/526Mix", #5k - "Yntec/Dreamful3", #5K - "Yntec/theAllysMixIIIRevolutions", #6k - "Yntec/UberRealisticLegacy", #6k - "Yntec/BrandiMilne", #6K - "Yntec/dosmixVAE", #3K - "Yntec/aPhotographicTrend", #3K - "Yntec/BeenYou", #3K - "Yntec/level4", #3K - "Yntec/dreamlike-photoreal-remix", #3K - "Yntec/lamettaRemix", #3K - "Yntec/lametta", #2K - "Yntec/AgarthaChadstyle", #7k - "Yntec/DucHaitenLofi", #7k - "Yntec/DreamWorks", #7K - "Yntec/AbsoluteRemix", #7K - "Yntec/mistoonAnime2", #7K - "Yntec/DucHaiten-FANCYxFANCY",#7K - "Yntec/LAMEanime", #8K - "Yntec/3Danimation", #4K - "Yntec/DucHaitenNiji", #4K - "Yntec/Darkside", #4K - "Yntec/animeTEN", #4K - "Yntec/Dreamscapes_n_Dragonfire_v2", #4K - "Yntec/Cetus", #4K - "Yntec/DeliShaper", #4K - "Yntec/epiCVision", #4K - "Yntec/Dreamlike", #3K - "Yntec/AnythingV4-768", #9k - "Yntec/makeitdoubleplz", #10k - "Yntec/ChiliConCarne", #11k - "Yntec/Dreamshaper8", #12K - "Yntec/pineappleAnimeMix", #13k - "Yntec/Oiran", #6K - "Yntec/RealCartoon3D", #6K - "Yntec/animeTWO", #6K - "Yntec/lamettaNightly", #6K - "Yntec/REV", #6K - "Yntec/NaughtyChildren", #6K - "Yntec/humu", #6K - "Yntec/Thriller", #13K - "Yntec/Splash", #7K - "Yntec/OpenGenDiffusers", #7K - "Yntec/DreamLikeRemix", #7K - "Yntec/epiCRealismVAE", #8K - "Yntec/LehinaModel", #8K - "Yntec/realistic-vision-v12", #14K - "Yntec/animeSEXTILLION/", #15K - "Yntec/AbsoluteReality", #15K - "Yntec/CetusRemix", #16K - "Yntec/AnythingV3-768", #18K - "Yntec/edgeOfRealism", #25K - "Yntec/fennPhoto", #27k - "Yntec/aMovieX/", #28K - "Yntec/photoMovieXFinal", #31K - "Yntec/nuipenimix2", #34K - "Yntec/epiCPhotoGasm", #40K - "Yntec/YiffyMix", #44K - "Yntec/HitenDiffusion", #2K - "Yntec/GameAssetsDigitalUnitsCreationKit", - "Yntec/QToriReloaded", - "Yntec/Toonify2", - "Yntec/LunarLuma", - "Yntec/Lunar", - "Yntec/Chik2", - "Yntec/photoMovieRealistic", - "Yntec/DucHaiten-StyleLikeMeVAE", - "Yntec/InsaneRealisticCVAE", - "Yntec/Noosphere_v3_CVAE", - "Yntec/RealRainbows", - "Yntec/InsaneM3U", - "Yntec/ChildrenStoriesAnime", - "Yntec/theallysMixIV-verisimilar", - "Yntec/DucHaitenAnime768", - "Yntec/RainbowClassicAnime", - "Yntec/DucHaitenClassicAnime768", - "Yntec/Luma", - "Yntec/WesternAnimation", - "Yntec/NeverExisted", - "Yntec/Rainbowsphere", - "Yntec/Ninja-Diffusers", - "Yntec/GOLDFish", - "Yntec/DreamAnything", - "Yntec/Dreamsphere", - "Yntec/Photosphere", - "Yntec/yabalMixTrue25D_v2_VAE", - "dreamlike-art/dreamlike-anime-1.0", - "Yntec/RainbowDreams", - "Yntec/rainbowpatch", - "Yntec/DucHaiten-Retro-Diffusers", - "Yntec/sexyToons", - "Yntec/photoMovieX/", - "dreamlike-art/dreamlike-photoreal-2.0", - "dreamlike-art/dreamlike-diffusion-1.0", - "Yntec/CuteYuki2", - "Yntec/KIDSILLUSTRATIONS", - "Yntec/COOLKIDSV2", - "Yntec/Pavo-Mix-Diffusers", - "Yntec/RPG_Remix", - "Yntec/OrangeRemix", - "Yntec/PeachMix3", - "Yntec/samdoesartsUlt", - "Yntec/NovelAI", - "Yntec/NovelAIRemix", - "Yntec/Hiten", - "digiplay/fCAnimeMix_v6", #776 - "digiplay/YabaLMixAnimeRealistic_V1.0", #754 - "digiplay/WhiteDreamyHillMix_v1", #220 - "digiplay/fCAnimeMix_v4", #747 - "digiplay/HadrianDelice_DeliceV1.5", #743 - "digiplay/fCAnimeMix_v2", #716 - "digiplay/HadrianDelice_BYC1.0", #728 - "digiplay/majicMIX_realistic_v6", - "digiplay/Noosphere_v4", #723 - "digiplay/PerfectDeliberate-Anime_v1", #724 - "digiplay/CamelliaMIx_2.5D_v1", #695 - "digiplay/CamelliaMIx_2.5D_diffusers", #692 - "digiplay/fantasticmix2.5D_v4.0", - "digiplay/majicMIX_realistic_v1", - "digiplay/RunDiffusionFXPhotorealistic_v1", - "digiplay/2K-VAE", - "digiplay/DucHaiten-Real3D-NSFW-V1", - "digiplay/kencanmix_v1.5", - "digiplay/ZHMix-Dramatic-v3.0", - "digiplay/Gap", - "digiplay/ya3_VAE", - "digiplay/asyncsMIX_v2", - "digiplay/fantasticmix_v65_test", - "digiplay/AingDiffusion8", - "digiplay/AingDiffusion9", - "digiplay/AingDiffusion8.5", - "digiplay/AingDiffusion6", - "digiplay/AingDiffusion8.17", - "digiplay/AingDiffusion9.2", - "digiplay/MeinaMix_v11", - "AIARTCHAN/AbyssHellHero", - "digiplay/MeinaMix_v7", - "digiplay/futaall_v8_VAE_diffusers", - "digiplay/Sudachi_diffusers", - "digiplay/CleanLinearMix_nsfw", - "digiplay/majicMIX_realistic_v4", - "digiplay/VersaMix_base_diffusers", - "digiplay/OldFish_fix1.1.997_diffusers", - "digiplay/VoidnoiseCore_R0829", - "digiplay/OldFish_v1.1", - "digiplay/wantan25D_prototype", - "digiplay/PotoPhotoRealism_v1", - "digiplay/LunarDiffusion_v1.27", - "digiplay/OLDFish_2348_diffusers", - "digiplay/OldFish_v1.1_diffusers_recover", - "digiplay/OldFish_v1.1mix_hello", - "digiplay/OldFish_v1.1_personal_HDmix", - "digiplay/FishMix_v1", - "DucHaiten/DucHaitenDreamWorld", - "digiplay/LemonteaMixPainterly2_v1", - "Hius/DreamFul-V2", - "lambdalabs/sd-naruto-diffusers", #201 - "digiplay/SweetMuse_diffusers", - "stablediffusionapi/icomix-2", - "digiplay/Realisian_v1", - "digiplay/RMHF_2.5D_v2", - "digiplay/Remedy", - "Hemlok/QuinceMix", - "digiplay/K-main", - "digiplay/LusterMix_v1.5_safetensors", #256 - "digiplay/perfectLewdFantasy_v1.01", - "digiplay/Opiate_v2", - "digiplay/PhotoSomnia_vFinal", - "stablediffusionapi/all-526-animated", - "digiplay/polla_mix_2.5D", - "AstraliteHeart/pony-diffusion", - "stablediffusionapi/chilloutmixsf", - "Masagin/Deliberate", #235 - "DucHaiten/DucHaitenSuperCute", - "stablediffusionapi/all-526", - "theintuitiveye/HARDblend", - "stablediffusionapi/cyberrealistic", - "stablediffusionapi/cusp-of-serenity", - "SG161222/Realistic_Vision_V1.4", - "digiplay/paulEberSRealismMix_v1", - "Ojimi/anime-kawai-diffusion", - "hassanblend/hassanblend1.4", - "digiplay/zodiac_eclipse_DAY1", - "claudfuen/photorealistic-fuen-v1", - "stablediffusionapi/chillout-app-factory", - "DucHaiten/DucHaitenJourney", - "robotjung/SemiRealMix", - "Joeythemonster/anything-midjourney-v-4-1", - "prompthero/midjourney-v4-diffusion", - "prompthero/openjourney-v4", - "x67/shortjourney", - "FredZhang7/paint-journey-v2", - "digiplay/PersonaStyleCheckpoint", - "darkstorm2150/Protogen_Infinity_Official_Release", - "PeggyWang/openjourney-v2", - "darkstorm2150/Protogen_x3.4_Official_Release", - "stablediffusionapi/deliberateappfactory", #236 - "digiplay/CrossoverMix_v2", - "stablediffusionapi/spybg", - "stablediffusionapi/dreamshaper-v6", #239 - "stablediffusionapi/the-ally", - "darkstorm2150/Protogen_x5.8_Official_Release", - "coreco/seek.art_MEGA", - "digiplay/BlankCanvas_v1", #07.11 - "digiplay/OnlyAnime_v2.3", - "Korakoe/OpenNiji", - "digiplay/Pika_v2", - "digiplay/RealCartoon3D_F16full_v3.1", #254 - "digiplay/realidefmix_3.5VAE", - "digiplay/realmixUnrealjourney_v1", - "digiplay/SyncMix_v1.5", - "stablediffusionapi/chilledremixsazyou-r", #195 - "digiplay/TWingshadow_v1.2", - "digiplay/V3_by_Hans_Asian", - "digiplay/whatamix_v1", - - "digiplay/AIGEN_v1.4_diffusers", - "digiplay/BrickAndMortarMix_v2.0_diffusers", #224 - "digiplay/BeautyFool_v1.2VAE_pruned", - "digiplay/breakdomainrealistic_R2333", - "digiplay/ChikMix_V3", #253 - "digiplay/CityEdge_StyleMix_v1.44", - "stablediffusionapi/dalcefopainting2", #199 - "digiplay/DiamondCoalMix_v2_pruned_diffusers", - "digiplay/DreamShaper_7", #259 - "digiplay/elegantEntropy_v1.1", #221 - "digiplay/KawaiiRealisticAnimeMix_A0.3", - "digiplay/highQualityCGMIX_v1", - "digiplay/HIMAWARI_v1", - "digiplay/Hodgepodge_v2.1", #217 - "digiplay/illustro1stEdition_illustroV1", #214 - "digiplay/Juggernaut_final", #07.11 - "digiplay/Landscape_PhotoReal_v1", - "digiplay/LuckyStrikeMix0.2Realistic", #07.10 - "digiplay/Matrix_Stellar_VAE_v1", - "digiplay/PrefixRealisticMix_v1", - "digiplay/RealEpicMajicRevolution_v1", #07.11 - "digiplay/ShampooMix_4", #252 - "digiplay/ShowmakerMix_v1", - "digiplay/SoapMix2.5D_v1", - - "Redamancy2299/dreambooth", - "Lykon/DreamShaper", #240 - "trysem/DreamShaper-3.3", - "HusseinHE/hussein-deliberate-1000steps", #237 - "stablediffusionapi/majicmixfantasy", - "stablediffusionapi/majicmixsombre", #247 - "wavymulder/modelshoot", - "digiplay/ChillyMix_v1", #215 - "stablediffusionapi/foto-assisted-diffusion", #197 - "wavymulder/portraitplus", - "stablediffusionapi/chilloutmix-4264", - "stablediffusionapi/product-design", #194 - "kandinsky-community/kandinsky-2-1", #251 - - "digiplay/2.5DSET_diffusers", #227 - "digiplay/alstroemeriaMix_v1", - "wavymulder/Analog-Diffusion", - "digiplay/AniRealityMix_v1", #257 - "digiplay/BasilKorea_v2", #07.11 - "digiplay/bluePencilRealistic_v01", - "digiplay/bra_v40_diffusers", - "digiplay/Burger_Mix_semiR2Lite", #222 - "digiplay/calicomixreal_v2.0_diffusers", - "digiplay/CampurSari_Gen1", - "digiplay/cocotifacute_v1", #07.10 - "digiplay/cosfMix_v1", #223 - "digiplay/CounterMix_v2", #211 - "digiplay/CuriousMerge2.5D_v5", - "digiplay/dosmix", - "digiplay/epi_2.5Dphotogodess_diffusers", - "stablediffusionapi/droodlyrielv15", - "digiplay/fantexi_v0.7", - "digiplay/FormCleansingMix_v1", #228 - "digiplay/FumizukiMix_v1", - "digiplay/helloworld_v3", - "digiplay/HenmixArt_v1", - "digiplay/ISOmix_v3.22", - "digiplay/JF-Cu_v1", - "digiplay/kencanmix_v2.0beta", - "wavymulder/lomo-diffusion", - "stablediffusionapi/majicmixv5", #192 - "digiplay/mecha_musume_vivid_soft", - "digiplay/MiracleMixGlitter_v1", - "digiplay/NextPhoto_v1", - "digiplay/Noosphere_v3", - "digiplay/PeachMixsRelistic_R0", #262 - "wavymulder/timeless-diffusion", - "digiplay/WhiteDreamyHillMix_v1", #220 - - "DucHaiten/DucHaitenAnime", - "DucHaiten/DucHaitenAIart", - "digiplay/BeenYouLiteL11_diffusers", - "Manseo/Colorful-v4.5-Plus", #244 - "Guizmus/SDArt_ChaosAndOrder", - "DucHaiten/DH_ClassicAnime", - "stablediffusionapi/disneypixar", - "johnslegers/epic-diffusion-v1.1", - "emilianJR/epiCRealism", - "johnslegers/epic-diffusion", - "digiplay/fantasticAnime_diffusers", - "stablediffusionapi/ghostmix", - "Duskfallcrew/EpicMix_Realism", - "nitrosocke/Nitro-Diffusion", - "prompthero/openjourney", - "Guizmus/SDArt_something", - "DucHaiten/DucHaiten-StyleLikeMe", - "ddPn08/subtly", #250 - "22h/vintedois-diffusion-v0-1", - - "circulus/sd-anireal-v2.7", - "0xJustin/Dungeons-and-Diffusion", - "darkstorm2150/Protogen_v2.2_Official_Release", - "Guizmus/SDArt_AliceInDiffusionLand", - "stablediffusionapi/realistic-vision-v20-2047", - "redstonehero/RPG-v5-itr17_A10T", - - "stablediffusionapi/camelliamix25d", - "Guizmus/SDArt_cosmichorrors", - "DGSpitzer/DGSpitzer-Art-Diffusion", - "stablediffusionapi/emotion-puppeteer-v2", - "stablediffusionapi/fengjing", - "stablediffusionapi/fuwafuwamix", - "Fred99774/girlnew1", - "stablediffusionapi/majicmixrealistic", - "badmonk/nxka", - "ItsJayQz/SynthwavePunk-v2", - "zhyemmmm/ToonYou", - "stablediffusionapi/uber-realistic-merge", - "stablediffusionapi/vne732h9dh4", - "stablediffusionapi/wand-magic2", - "stablediffusionapi/waifu-journey-2", - "stablediffusionapi/zovya", - - "Guizmus/SDArt_cosmichorrors768", - "stablediffusionapi/counterfeit-v30", - "stablediffusionapi/amireal", - #"JamesFlare/pastel-mix", #"andite/pastel-mix", - "stablediffusionapi/rev-anim", - "aipicasso/picasso-diffusion-1-1", - "xiaolxl/Gf_style2", - "circulus/sd-semireal-v2.8", - "Crosstyan/BPModel", #07.11 - - "digiplay/Dusk-1", - "ogkalu/Comic-Diffusion", - "Guizmus/SDArt_ChaosAndOrder768", - "gsdf/Counterfeit-V2.0", - "dwancin/memoji", #07.11 - "nousr/robo-diffusion-2-base", - - ##"hakurei/waifu-diffusion", - "WarriorMama777/AbyssOrangeMix2", - "stablediffusionapi/abyssorangemix2nsfw", #200 - ##"cag/anything-v3-1", - "iZELX1/Anything-V3-X", - "xyn-ai/anything-v4.0", #"andite/anything-v4.0", - #"D1b4l4p/AsianMix", - #"Fred99774/chilloutvlara", - "aipicasso/cool-japan-diffusion-2-1-2", - "stablediffusionapi/corneos-7th-heaven-m", #196 - "DGSpitzer/Cyberpunk-Anime-Diffusion", - "stablediffusionapi/dark-sushi-mix", - "joachimsallstrom/Double-Exposure-Diffusion", - "eimiss/EimisAnimeDiffusion_1.0v", - #"prompthero/funko-diffusion", - "nitrosocke/Ghibli-Diffusion", - ###"iZELX1/Grapefruit", - "xiaolxl/GuoFeng3", - "stablediffusionapi/tmnd-mix", - "coder119/Vectorartz_Diffusion", #203 - - "WarriorMama777/AbyssOrangeMix", - "AIARTCHAN/7pa", - "JosephusCheung/ACertainModel", - "JosephusCheung/ACertainThing", - "JosephusCheung/ACertainty", - "AIARTCHAN/AbyssHellVer3", - "AIARTCHAN/AbyssMapleVer3", - "stablediffusionapi/abyssorangemixsfw", - "AIARTCHAN/anidosmixV2", - "stablediffusionapi/anime-model-v2", - "kubanemil/AnyLORA", - "stablediffusionapi/hc-anything-v3-vae", #231 - "mm00/anything-v3.0-light", - "stablediffusionapi/anythingelse-v4", - "stablediffusionapi/anything-v45-fixed", - "stablediffusionapi/anything-v5", - "nitrosocke/Arcane-Diffusion", - "nitrosocke/archer-diffusion", - "stablediffusionapi/architecture-tuned-model", - "WarriorMama777/BloodOrangeMix", - "wavymulder/collage-diffusion", - "stablediffusionapi/camelliamixline", - "digiplay/CiderMix_ciderR", #260 - "Johnhex/Clam", #243 - "stablediffusionapi/cosmic-babes", - "digiplay/CoffeeDonut_v1", - "stablediffusionapi/dark-sushi-25d", - "digiplay/Defacta_v1_diffusers", #226 - ## "WarriorMama777/EerieOrangeMix", - "digiplay/DuelAnimeMix_v1", #225 - "Envvi/Inkpunk-Diffusion", - "digiplay/kotosmix_diffusers", #229 - "stablediffusionapi/meinaalter", - "Nacholmo/meinamixv7-diffusers", - "stablediffusionapi/meinapastel", - "AIARTCHAN/MIX-Pro-V4", - "stablediffusionapi/shirataki-mix", #191 - "NoCrypt/SomethingV2_2", - "NoCrypt/SomethingV2", - "badmonk/sxzumi", - ## "stablediffusionapi/three-delicacy", - ## "stablediffusionapi/three-delicacy-wonto", - "etherealxx/systemy-csrmodel-cutesexyrobutts", #"andite/cutesexyrobutts-diffusion", - "sd-dreambooth-library/true-guweiz-style", # "andite/guweiz-diffusion", - "stablediffusionapi/vector-art", #198 - "digiplay/xxMix_4", - ###"mio/hiten", #"andite/hiten-diffusion", - ### "andite/mashuu-diffusion", - ### "andite/mignon-diffusion", - ### "andite/mikapikazo-diffusion", - ### "andite/piromizu-diffusion", - "digiplay/Zevinemix_v1.0/", - - "digiplay/AnaMix_v2", #07.11 - "stablediffusionapi/animetestmodelv3", - "yulet1de/anything", #232 - "hakurei/artstation-diffusion", #07.11 - "Fictiverse/Stable_Diffusion_BalloonArt_Model", - "stablediffusionapi/bg-dream-irl", - "stablediffusionapi/bg-dream-model-b", #193 - "Rardilit/Ciffusion_v0.1", - "circulus/sd-anireal-2d-v2", - "circulus/sd-photoreal-v2.7", - "circulus/sd-photoreal-photo-v2", - "circulus/sd-anireal-2.5d-v2", - "circulus/sd-anireal-v2.5", - "circulus/sd-photoreal-semi-v2", - "circulus/sd-photoreal-real-v2", - "circulus/sd-photoreal-v2.5", - "circulus/sd-anireal-3d-v2", - "circulus/sd-anireal-v2.8", - "nitrosocke/classic-anim-diffusion", - "Conflictx/Complex-Lineart", #245 - "justinpinkney/pokemon-stable-diffusion", - "nitrosocke/elden-ring-diffusion", - "digiplay/EtherBluMix_1", #07.11 - "digiplay/fantasticmix_v40_test", #261 - "theintuitiveye/FantasyMix", - "Fictiverse/Stable_Diffusion_FluidArt_Model", - "nitrosocke/Future-Diffusion", - "ItsJayQz/GTA5_Artwork_Diffusion", #205 - "TheLastBen/hrrzg-style-768px", #246 - "nevernotsean/IllustratedPaperMini", #242 - "dallinmackay/JWST-Deep-Space-diffusion", - #"prompthero/linkedin-diffusion", - "mann-e/mann-e_4_rev-0-1", #210 - "ItsJayQz/Marvel_WhatIf_Diffusion", #206 - "yuanbit/max-15-1e-6-1500", - "MyneFactory/MF-Base", #248 - "Fictiverse/Stable_Diffusion_Microscopic_model", #249 - "nitrosocke/mo-di-diffusion", - "luongphamit/NeverEnding-Dream2", #241 - "Vernon-2/output_test", - "Fictiverse/Stable_Diffusion_PaperCut_Model", - "bsuutari/path_to_saved_model", - "bsuutari/path_to_saved_model_rafa", - "lambdalabs/sd-pokemon-diffusers", #202 - "prompthero/poolsuite-diffusion", - "digiplay/RealismEngine_v1", - "nitrosocke/redshift-diffusion", - "nitrosocke/redshift-diffusion-768", - "nousr/robo-diffusion", - "digiplay/SDVN1-Real_v1", #255 - "nitrosocke/spider-verse-diffusion", - #"runwayml/stable-diffusion-v1-5", - "nicky007/stable-diffusion-logo-fine-tuned", - "stablediffusionapi/three-delicacy", #233 - "stablediffusionapi/three-delicacy-wonto", #234 - "naclbit/trinart_stable_diffusion_v2", - "dallinmackay/Tron-Legacy-diffusion", - "digiplay/unstableDiffusersYamerMIX_v3", - "dallinmackay/Van-Gogh-diffusion", - "ItsJayQz/Valorant_Diffusion", - "Fictiverse/Stable_Diffusion_VoxelArt_Model", #204 - "wavymulder/wavyfusion", - "Yntec/HassanRemix", - "Yntec/Reddit", - "Yntec/CinematicReality", - "Yntec/3DKX2", - "runwayml/stable-diffusion-v1-5", #555 - "CompVis/stable-diffusion-v1-4", #530 - "CompVis/stable-diffusion-v1-3", #207 - "CompVis/stable-diffusion-v1-2", #208 - "CompVis/stable-diffusion-v1-1", #209 -] - +from all_models import models +from externalmod import gr_Interface_load +from prompt_extend import extend_prompt +from random import randint +import asyncio +from threading import RLock +lock = RLock() +HF_TOKEN = os.environ.get("HF_TOKEN") if os.environ.get("HF_TOKEN") else None # If private or gated models aren't used, ENV setting is unnecessary. + +inference_timeout = 600 +MAX_SEED = 2**32-1 current_model = models[0] - - +text_gen1 = extend_prompt #text_gen1=gr.Interface.load("spaces/phenomenon1981/MagicPrompt-Stable-Diffusion") -text_gen1=gr.Interface.load("spaces/Yntec/prompt-extend") +#text_gen1=gr.Interface.load("spaces/Yntec/prompt-extend") #text_gen1=gr.Interface.load("spaces/daspartho/prompt-extend") #text_gen1=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion_link") -models2=[ - gr.Interface.load(f"models/{models[0]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[1]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[2]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[3]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[4]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[5]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[6]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[7]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[8]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[9]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[10]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[11]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[12]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[13]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[14]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[15]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[16]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[17]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[18]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[19]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[20]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[21]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[22]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[23]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[24]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[25]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[26]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[27]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[28]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[29]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[30]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[31]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[32]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[33]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[34]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[35]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[36]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[37]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[38]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[39]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[40]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[41]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[42]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[43]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[44]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[45]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[46]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[47]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[48]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[49]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[50]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[51]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[52]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[53]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[54]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[55]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[56]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[57]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[58]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[59]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[60]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[61]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[62]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[63]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[64]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[65]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[66]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[67]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[68]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[69]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[70]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[71]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[72]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[73]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[74]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[75]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[76]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[77]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[78]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[79]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[80]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[81]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[82]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[83]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[84]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[85]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[86]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[87]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[88]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[89]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[90]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[91]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[92]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[93]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[94]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[95]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[96]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[97]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[98]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[99]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[100]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[101]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[102]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[103]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[104]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[105]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[106]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[107]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[108]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[109]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[110]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[111]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[112]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[113]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[114]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[115]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[116]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[117]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[118]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[119]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[120]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[121]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[122]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[123]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[124]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[125]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[126]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[127]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[128]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[129]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[130]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[131]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[132]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[133]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[134]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[135]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[136]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[137]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[138]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[139]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[140]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[141]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[142]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[143]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[144]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[145]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[146]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[147]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[148]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[149]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[150]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[151]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[152]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[153]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[154]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[155]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[156]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[157]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[158]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[159]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[160]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[161]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[162]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[163]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[164]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[165]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[166]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[167]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[168]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[169]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[170]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[171]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[172]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[173]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[174]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[175]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[176]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[177]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[178]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[179]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[180]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[181]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[182]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[183]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[184]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[185]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[186]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[187]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[188]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[189]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[190]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[191]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[192]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[193]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[194]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[195]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[196]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[197]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[198]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[199]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[200]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[201]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[202]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[203]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[204]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[205]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[206]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[207]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[208]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[209]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[210]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[211]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[212]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[213]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[214]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[215]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[216]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[217]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[218]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[219]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[220]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[221]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[222]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[223]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[224]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[225]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[226]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[227]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[228]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[229]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[230]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[231]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[232]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[233]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[234]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[235]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[236]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[237]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[238]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[239]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[240]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[241]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[242]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[243]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[244]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[245]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[246]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[247]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[248]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[249]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[250]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[251]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[252]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[253]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[254]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[255]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[256]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[257]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[258]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[259]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[260]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[261]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[262]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[263]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[264]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[265]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[266]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[267]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[268]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[269]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[270]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[271]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[272]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[273]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[274]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[275]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[276]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[277]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[278]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[279]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[280]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[281]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[282]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[283]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[284]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[285]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[286]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[287]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[288]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[289]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[290]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[291]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[292]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[293]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[294]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[295]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[296]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[297]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[298]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[299]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[300]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[301]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[302]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[303]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[304]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[305]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[306]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[307]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[308]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[309]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[310]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[311]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[312]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[313]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[314]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[315]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[316]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[317]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[318]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[319]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[320]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[321]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[322]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[323]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[324]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[325]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[326]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[327]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[328]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[329]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[330]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[331]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[332]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[333]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[334]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[335]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[336]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[337]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[338]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[339]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[340]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[341]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[342]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[343]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[344]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[345]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[346]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[347]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[348]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[349]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[350]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[351]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[352]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[353]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[354]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[355]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[356]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[357]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[358]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[359]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[360]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[361]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[362]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[363]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[364]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[365]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[366]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[367]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[368]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[369]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[370]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[371]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[372]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[373]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[374]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[375]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[376]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[377]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[378]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[379]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[380]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[381]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[382]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[383]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[384]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[385]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[386]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[387]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[388]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[389]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[390]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[391]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[392]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[393]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[394]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[395]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[396]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[397]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[398]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[399]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[400]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[401]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[402]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[403]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[404]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[405]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[406]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[407]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[408]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[409]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[410]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[411]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[412]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[413]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[414]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[415]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[416]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[417]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[418]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[419]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[420]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[421]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[422]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[423]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[424]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[425]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[426]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[427]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[428]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[429]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[430]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[431]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[432]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[433]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[434]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[435]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[436]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[437]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[438]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[439]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[440]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[441]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[442]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[443]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[444]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[445]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[446]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[447]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[448]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[449]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[450]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[451]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[452]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[453]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[454]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[455]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[456]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[457]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[458]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[459]}",live=True,preprocess=False), +models2 = [gr_Interface_load(f"models/{m}", live=False, preprocess=True, postprocess=False, hf_token=HF_TOKEN) for m in models] - gr.Interface.load(f"models/{models[460]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[461]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[462]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[463]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[464]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[465]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[466]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[467]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[469]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[470]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[471]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[472]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[473]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[474]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[475]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[476]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[477]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[478]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[479]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[480]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[481]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[482]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[483]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[484]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[485]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[486]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[487]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[488]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[489]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[490]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[491]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[492]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[493]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[494]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[495]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[496]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[497]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[498]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[499]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[500]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[501]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[502]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[503]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[504]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[505]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[506]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[507]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[508]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[509]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[510]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[511]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[512]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[513]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[514]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[515]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[516]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[517]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[518]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[519]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[520]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[521]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[522]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[523]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[524]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[525]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[526]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[527]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[528]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[529]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[530]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[531]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[532]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[533]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[534]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[535]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[536]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[537]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[538]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[539]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[540]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[541]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[542]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[543]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[544]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[545]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[546]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[547]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[548]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[549]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[550]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[551]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[552]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[553]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[554]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[555]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[556]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[557]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[558]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[559]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[560]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[561]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[562]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[563]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[564]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[565]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[566]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[567]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[568]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[569]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[570]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[571]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[572]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[573]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[574]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[575]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[576]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[577]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[578]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[579]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[580]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[581]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[582]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[583]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[584]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[585]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[586]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[587]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[588]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[589]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[590]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[591]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[592]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[593]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[594]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[595]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[596]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[597]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[598]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[599]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[600]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[601]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[602]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[603]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[604]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[605]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[606]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[607]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[608]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[609]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[610]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[611]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[612]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[613]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[614]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[615]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[616]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[617]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[618]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[619]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[620]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[621]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[622]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[623]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[624]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[625]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[626]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[627]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[628]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[629]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[630]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[631]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[632]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[633]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[634]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[635]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[636]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[637]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[638]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[639]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[640]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[641]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[642]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[643]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[644]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[645]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[646]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[647]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[648]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[649]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[650]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[651]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[652]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[653]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[654]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[655]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[656]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[657]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[658]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[659]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[660]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[661]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[662]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[663]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[664]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[665]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[666]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[667]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[668]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[669]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[670]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[671]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[672]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[673]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[674]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[675]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[676]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[677]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[678]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[679]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[680]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[681]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[682]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[683]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[684]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[685]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[686]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[687]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[688]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[689]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[690]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[691]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[692]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[693]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[694]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[695]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[696]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[697]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[698]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[699]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[700]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[701]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[702]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[703]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[704]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[705]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[706]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[707]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[708]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[709]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[710]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[711]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[712]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[713]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[714]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[715]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[716]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[717]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[718]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[719]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[720]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[721]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[722]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[723]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[724]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[725]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[726]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[727]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[728]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[729]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[730]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[731]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[732]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[733]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[734]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[735]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[736]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[737]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[738]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[739]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[740]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[741]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[742]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[743]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[744]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[745]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[746]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[747]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[748]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[749]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[750]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[751]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[752]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[753]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[754]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[755]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[756]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[757]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[758]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[759]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[760]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[761]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[762]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[763]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[764]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[765]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[766]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[767]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[768]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[769]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[770]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[771]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[772]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[773]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[774]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[775]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[776]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[777]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[778]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[779]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[780]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[781]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[782]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[783]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[784]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[785]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[786]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[787]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[788]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[789]}",live=True,preprocess=False), - - gr.Interface.load(f"models/{models[790]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[791]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[792]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[793]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[794]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[795]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[796]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[797]}",live=True,preprocess=False), - gr.Interface.load(f"models/{models[798]}",live=True,preprocess=False), - #gr.Interface.load(f"models/{models[799]}",live=True,preprocess=False), - - - #Because there's a model 0, to know the number of models you add 1 to {models[n]} -] - -def text_it1(inputs,text_gen1=text_gen1): - go_t1=text_gen1(inputs) +def text_it1(inputs, text_gen1=text_gen1): + go_t1 = text_gen1(inputs) return(go_t1) def set_model(current_model): current_model = models[current_model] return gr.update(label=(f"{current_model}")) - -def send_it1(inputs, model_choice): #negative_prompt, - proc1=models2[model_choice] - output1=proc1(inputs) - #negative_prompt=negative_prompt - return(output1) -css="""""" - - -with gr.Blocks(css=css) as myface: - gr.HTML(""" +def send_it1(inputs, model_choice, neg_input, height, width, steps, cfg, seed): + output1 = gen_fn(model_choice, inputs, neg_input, height, width, steps, cfg, seed) + return (output1) + +# https://huggingface.co/docs/api-inference/detailed_parameters +# https://huggingface.co/docs/huggingface_hub/package_reference/inference_client +async def infer(model_index, prompt, nprompt="", height=None, width=None, steps=None, cfg=None, seed=-1, timeout=inference_timeout): + from pathlib import Path + kwargs = {} + if height is not None and height >= 256: kwargs["height"] = height + if width is not None and width >= 256: kwargs["width"] = width + if steps is not None and steps >= 1: kwargs["num_inference_steps"] = steps + if cfg is not None and cfg > 0: cfg = kwargs["guidance_scale"] = cfg + noise = "" + if seed >= 0: kwargs["seed"] = seed + else: + rand = randint(1, 500) + for i in range(rand): + noise += " " + task = asyncio.create_task(asyncio.to_thread(models2[model_index].fn, + prompt=f'{prompt} {noise}', negative_prompt=nprompt, **kwargs, token=HF_TOKEN)) + await asyncio.sleep(0) + try: + result = await asyncio.wait_for(task, timeout=timeout) + except (Exception, asyncio.TimeoutError) as e: + print(e) + print(f"Task timed out: {models2[model_index]}") + if not task.done(): task.cancel() + result = None + if task.done() and result is not None: + with lock: + png_path = "image.png" + result.save(png_path) + image = str(Path(png_path).resolve()) + return image + return None + +def gen_fn(model_index, prompt, nprompt="", height=None, width=None, steps=None, cfg=None, seed=-1): + try: + loop = asyncio.new_event_loop() + result = loop.run_until_complete(infer(model_index, prompt, nprompt, + height, width, steps, cfg, seed, inference_timeout)) + except (Exception, asyncio.CancelledError) as e: + print(e) + print(f"Task aborted: {models2[model_index]}") + result = None + finally: + loop.close() + return result + +css=""" +.gradio-container {background-image: linear-gradient(#254150, #1e2f40, #182634) !important; + color: #ffaa66 !important; font-family: 'IBM Plex Sans', sans-serif !important;} +h1 {font-size: 6em; color: #ffc99f; margin-top: 30px; margin-bottom: 30px; + text-shadow: 3px 3px 0 rgba(0, 0, 0, 1) !important;} +h3 {color: #ffc99f; !important;} +h4 {display: inline-block; color: #ffffff !important;} +.wrapper img {font-size: 98% !important; white-space: nowrap !important; text-align: center !important; +display: inline-block !important; color: #ffffff !important;} +.wrapper {color: #ffffff !important;} +.text-gray-500 {color: #ffc99f !important;} +.gr-box {background-image: linear-gradient(#182634, #1e2f40, #254150) !important; + border-top-color: #000000 !important; border-right-color: #ffffff !important; + border-bottom-color: #ffffff !important; border-left-color: #000000 !important;} +.gr-input {color: #ffc99f; !important; background-color: #254150 !important;} +:root {--neutral-100: #000000 !important;} +.gr-button {color: #ffffff !important; text-shadow: 1px 1px 0 rgba(0, 0, 0, 1) !important; +background-image: linear-gradient(#76635a, #d2a489) !important; border-radius: 24px !important; +border: solid 1px !important; border-top-color: #ffc99f !important; border-right-color: #000000 !important; +border-bottom-color: #000000 !important; border-left-color: #ffc99f !important; padding: 6px 30px;} +.gr-button:active {color: #ffc99f !important; font-size: 98% !important; +text-shadow: 0px 0px 0 rgba(0, 0, 0, 1) !important; background-image: linear-gradient(#d2a489, #76635a) !important; +border-top-color: #000000 !important; border-right-color: #ffffff !important; +border-bottom-color: #ffffff !important; border-left-color: #000000 !important;} +.gr-button:hover {filter: brightness(130%);} +""" + +with gr.Blocks(theme='John6666/YntecDark', fill_width=True, css=css) as myface: + gr.HTML(f"""

Toy World

@@ -1782,71 +165,57 @@ with gr.Blocks(css=css) as myface:

-

Blitz Diffusion - 799 Stable Diffusion models, but why? For your enjoyment!

-
6.4 NEW!Toys to play with: AtoZ, fantasticmixK1, FilmGirlRemix, fCAnimeMixV5, Vintage, BeautyFoolReality4, UltraHighDefinition and 5 more!
+

{int(len(models))} Stable Diffusion models, but why? For your enjoyment!

+
9.3 NEW!This has become a legacy backup copy of old ToyWorld's UI! Newer models added dailty over there! 25 new models since last update!


If a model is already loaded each new image takes less than 10 seconds to generate!

-

Generate 6 images from 1 prompt at the PrintingPress, and use 6 models simultaneusly at Diffusion70XX! +
Generate 6 images from 1 prompt at the PrintingPress, and use 6 different models at Huggingface Diffusion!!

- """) + """, elem_classes="gr-box") with gr.Row(): with gr.Column(scale=100): - #Model selection dropdown - model_name1 = gr.Dropdown(label="Select Model", choices=[m for m in models], type="index", value=current_model, interactive=True) + #Model selection dropdown + model_name1 = gr.Dropdown(label="Select Model", choices=[m for m in models], type="index", + value=current_model, interactive=True, elem_classes=["gr-box", "gr-input"]) with gr.Row(): with gr.Column(scale=100): - magic1=gr.Textbox(label="Your Prompt", lines=4) #Positive - #with gr.Column(scale=100): - #negative_prompt=gr.Textbox(label="Negative Prompt", lines=1) - gr.HTML("""""") - run=gr.Button("Generate Image") + with gr.Group(): + magic1 = gr.Textbox(label="Your Prompt", lines=4, elem_classes=["gr-box", "gr-input"]) #Positive + with gr.Accordion("Advanced", open=False, visible=True): + neg_input = gr.Textbox(label='Negative prompt', lines=1, elem_classes=["gr-box", "gr-input"]) + with gr.Row(): + width = gr.Slider(label="Width", info="If 0, the default value is used.", maximum=1216, step=32, value=0, elem_classes=["gr-box", "gr-input"]) + height = gr.Slider(label="Height", info="If 0, the default value is used.", maximum=1216, step=32, value=0, elem_classes=["gr-box", "gr-input"]) + with gr.Row(): + steps = gr.Slider(label="Number of inference steps", info="If 0, the default value is used.", maximum=100, step=1, value=0, elem_classes=["gr-box", "gr-input"]) + cfg = gr.Slider(label="Guidance scale", info="If 0, the default value is used.", maximum=30.0, step=0.1, value=0, elem_classes=["gr-box", "gr-input"]) + seed = gr.Slider(label="Seed", info="Randomize Seed if -1.", minimum=-1, maximum=MAX_SEED, step=1, value=-1, elem_classes=["gr-box", "gr-input"]) + run = gr.Button("Generate Image", elem_classes="gr-button") + with gr.Row(): - with gr.Column(style="width=800px"): - output1=gr.Image(label=(f"{current_model}")) + with gr.Column(): + output1 = gr.Image(label=(f"{current_model}"), show_download_button=True, + interactive=False, show_share_button=False, format=".png", elem_classes="gr-box") - with gr.Row(): with gr.Column(scale=50): - input_text=gr.Textbox(label="Use this box to extend an idea automagically, by typing some words and clicking Extend Idea",lines=2) - see_prompts=gr.Button("Extend Idea -> overwrite the contents of the `Your Prompt´ box above") - use_short=gr.Button("Copy the contents of this box to the `Your Prompt´ box above") + input_text=gr.Textbox(label="Use this box to extend an idea automagically, by typing some words and clicking Extend Idea", lines=2, elem_classes=["gr-box", "gr-input"]) + see_prompts=gr.Button("Extend Idea -> overwrite the contents of the `Your Prompt´ box above", elem_classes="gr-button") + use_short=gr.Button("Copy the contents of this box to the `Your Prompt´ box above", elem_classes="gr-button") def short_prompt(inputs): - return(inputs) - - model_name1.change(set_model,inputs=model_name1,outputs=[output1]) - - run.click(send_it1, inputs=[magic1, model_name1], outputs=[output1]) - - use_short.click(short_prompt,inputs=[input_text],outputs=magic1) - - see_prompts.click(text_it1,inputs=[input_text],outputs=magic1) - -myface.queue(concurrency_count=200) -myface.launch(inline=True, show_api=False, max_threads=400) \ No newline at end of file + return (inputs) + + model_name1.change(set_model, inputs=model_name1, outputs=[output1]) + gr.on( + triggers=[run.click, magic1.submit], + fn=send_it1, + inputs=[magic1, model_name1, neg_input, height, width, steps, cfg, seed], + outputs=[output1], + ) + use_short.click(short_prompt, inputs=[input_text], outputs=magic1) + see_prompts.click(text_it1, inputs=[input_text], outputs=magic1) + +myface.queue(default_concurrency_limit=200, max_size=200) +myface.launch(show_api=False, max_threads=400)