import gradio as gr import os import sys from pathlib import Path models = [ "dreamlike-art/dreamlike-anime-1.0", "dreamlike-art/dreamlike-photoreal-2.0", "DucHaiten/DucHaitenAnime", "DucHaiten/DH_ClassicAnime", "DucHaiten/DucHaiten-StyleLikeMe", "digiplay/OLDFish_2348_diffusers", "DucHaiten/DucHaitenDreamWorld", "DucHaiten/DucHaitenAIart", "digiplay/Noosphere_v3", "Hius/DreamFul-V2", "dreamlike-art/dreamlike-diffusion-1.0", "digiplay/Realisian_v1", "digiplay/m3u", #263 "digiplay/RMHF_2.5D_v2", "AstraliteHeart/pony-diffusion", "stablediffusionapi/chilloutmixsf", "Ojimi/anime-kawai-diffusion", "Masagin/Deliberate", #235 "DucHaiten/DucHaitenSuperCute", "theintuitiveye/HARDblend", "stablediffusionapi/icomix-2", "Hemlok/QuinceMix", "stablediffusionapi/all-526-animated", "stablediffusionapi/all-526", "stablediffusionapi/chillout-app-factory", "stablediffusionapi/cusp-of-serenity", "stablediffusionapi/cyberrealistic", "SG161222/Realistic_Vision_V1.4", "hassanblend/hassanblend1.4", "LottePeisch/RevAnimated-Diffusers", "DucHaiten/DucHaitenJourney", "robotjung/SemiRealMix", "claudfuen/photorealistic-fuen-v1", "Joeythemonster/anything-midjourney-v-4-1", "prompthero/midjourney-v4-diffusion", "prompthero/openjourney-v4", "x67/shortjourney", "FredZhang7/paint-journey-v2", "PeggyWang/openjourney-v2", "darkstorm2150/Protogen_v2.2_Official_Release", "darkstorm2150/Protogen_Infinity_Official_Release", "darkstorm2150/Protogen_x3.4_Official_Release", "stablediffusionapi/spybg", "stablediffusionapi/deliberateappfactory", #236 "darkstorm2150/Protogen_x5.8_Official_Release", "stablediffusionapi/dreamshaper-v6", #239 "stablediffusionapi/the-ally", "coreco/seek.art_MEGA", "digiplay/BlankCanvas_v1", #07.11 "digiplay/Pika_v2", "digiplay/RealCartoon3D_F16full_v3.1", #254 "digiplay/2K", #216 "digiplay/BrickAndMortarMix_v2.0_diffusers", #224 "digiplay/BeautyFool_v1.2VAE_pruned", "digiplay/CCTV2.5d_v1", #219 "digiplay/ChikMix_V3", #253 "stablediffusionapi/chilledremixsazyou-r", #195 "digiplay/CityEdge_StyleMix_v1.44", "stablediffusionapi/dalcefopainting2", #199 "digiplay/EdisonNilMix_v1", #07.10 "digiplay/DreamShaper_7", #259 "digiplay/elegantEntropy_v1.1", #221 "digiplay/EtherRealMix_LUX2", "digiplay/Hodgepodge_v2.1", #217 "digiplay/illustro1stEdition_illustroV1", #214 "digiplay/Juggernaut_final", #07.11 "digiplay/Landscape_PhotoReal_v1", "digiplay/PrefixRealisticMix_v1", "digiplay/RealEpicMajicRevolution_v1", #07.11 "digiplay/ShampooMix_4", #252 "digiplay/SoapMix2.5D_v1", "digiplay/ZemiHR_v2_diffusers", "Redamancy2299/dreambooth", "Lykon/DreamShaper", #240 "trysem/DreamShaper-3.3", "HusseinHE/hussein-deliberate-1000steps", #237 "stablediffusionapi/majicmixfantasy", "stablediffusionapi/majicmixsombre", #247 "stablediffusionapi/foto-assisted-diffusion", #197 "wavymulder/Analog-Diffusion", "wavymulder/lomo-diffusion", "wavymulder/modelshoot", "wavymulder/portraitplus", "wavymulder/timeless-diffusion", "stablediffusionapi/chilloutmix-4264", "stablediffusionapi/majicmixv5", #192 "stablediffusionapi/product-design", #194 "kandinsky-community/kandinsky-2-1", #251 "digiplay/2.5DSET_diffusers", #227 "digiplay/2-KWI", #213 "digiplay/alstroemeriaMix_v1", "digiplay/AniRealityMix_v1", #257 "digiplay/ARRealVX1.1", "digiplay/BasilKorea_v2", #07.11 "digiplay/bluePencilRealistic_v01", "digiplay/bra_v40_diffusers", "digiplay/Burger_Mix_semiR2Lite", #222 "digiplay/calicomixreal_v2.0_diffusers", "digiplay/ChillyMix_v1", #215 "digiplay/cocotifacute_v1", #07.10 "digiplay/cosfMix_v1", #223 "digiplay/CounterMix_v2", #211 "digiplay/CuriousMerge2.5D_v5", "digiplay/dosmix", "digiplay/epi_2.5Dphotogodess_diffusers", "digiplay/endlessMixRenatus_v1.1", #07.10 "digiplay/fantasticAnime_diffusers", "digiplay/fantexi_v0.7", "digiplay/fishmix_other_v1", "digiplay/FormCleansingMix_v1", #228 "digiplay/LuckyStrikeMix0.2Realistic", #07.10 "digiplay/helloworld_v3", "digiplay/ISOmix_v3.22", "digiplay/kencanmix_v2.0beta", "digiplay/LusterMix_v1.5_safetensors", #256 "digiplay/mecha_musume_vivid_soft", "digiplay/MiracleMixGlitter_v1", "digiplay/nk15_diffusers", #230 "digiplay/PeachMixsRelistic_R0", #262 "digiplay/V3_by_Hans_Asian", "digiplay/WhiteDreamyHillMix_v1", #220 "digiplay/YabaLMixTrue25D_V2.0", #212 "digiplay/ya3p_VAE", #258 "Manseo/Colorful-v4.5-Plus", #244 "ogkalu/Comic-Diffusion", "stablediffusionapi/disneypixar", "stablediffusionapi/droodlyrielv15", "0xJustin/Dungeons-and-Diffusion", "johnslegers/epic-diffusion-v1.1", "emilianJR/epiCRealism", "johnslegers/epic-diffusion", "stablediffusionapi/ghostmix", "Duskfallcrew/EpicMix_Realism", "nitrosocke/Nitro-Diffusion", "prompthero/openjourney", "Guizmus/SDArt_something", "ddPn08/subtly", #250 "22h/vintedois-diffusion-v0-1", "Fred99774/chilloutvlara", "Guizmus/SDArt_cosmichorrors768", "Guizmus/SDArt_AliceInDiffusionLand", "ItsJayQz/SynthwavePunk-v2", "wavymulder/collage-diffusion", "Guizmus/SDArt_cosmichorrors", "DGSpitzer/DGSpitzer-Art-Diffusion", "stablediffusionapi/emotion-puppeteer-v2", "stablediffusionapi/fengjing", "stablediffusionapi/fuwafuwamix", "Fred99774/girlnew1", "stablediffusionapi/majicmixrealistic", "badmonk/nxka", "stablediffusionapi/realistic-vision-v20-2047", "zhyemmmm/ToonYou", "stablediffusionapi/uber-realistic-merge", "stablediffusionapi/vne732h9dh4", "stablediffusionapi/wand-magic2", "stablediffusionapi/waifu-journey-2", "stablediffusionapi/zovya", "Guizmus/SDArt_ChaosAndOrder768", "Guizmus/SDArt_ChaosAndOrder", "gsdf/Counterfeit-V2.0", "stablediffusionapi/counterfeit-v30", "stablediffusionapi/amireal", "Korakoe/OpenNiji", #"JamesFlare/pastel-mix", #"andite/pastel-mix", "stablediffusionapi/rev-anim", "aipicasso/picasso-diffusion-1-1", "circulus/sd-semireal-v2.8", "xiaolxl/Gf_style2", "Crosstyan/BPModel", #07.11 "nousr/robo-diffusion-2-base", "dwancin/memoji", #07.11 ##"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", "nitrosocke/classic-anim-diffusion", "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", "AIARTCHAN/AbyssHellHero", "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", "stablediffusionapi/camelliamix25d", "stablediffusionapi/camelliamixline", "digiplay/chrysanthemumMix_v1", "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", "Lykon/NeverEnding-Dream", "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 ###"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-v2.7", "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", "Conflictx/Complex-Lineart", #245 "sayakpaul/da-vinci-sd-pokemon", "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 "digiplay/hellopure_v2.23", "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 "lambdalabs/sd-naruto-diffusers", #201 "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", "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", "CompVis/stable-diffusion-v1-3", #207 "CompVis/stable-diffusion-v1-2", #208 "CompVis/stable-diffusion-v1-1", #209 ] current_model = models[0] text_gen1=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion_link") text_gen2=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion_link") text_gen3=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion_link") text_gen4=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion_link") text_gen5=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion_link") text_gen6=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion_link") text_gen7=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion_link") text_gen8=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), ] def text_it1(inputs,text_gen1=text_gen1): go_t1=text_gen1(inputs) return(go_t1) def text_it2(inputs,text_gen2=text_gen2): go_t2=text_gen2(inputs) return(go_t2) def text_it3(inputs,text_gen3=text_gen3): go_t3=text_gen3(inputs) return(go_t3) def text_it4(inputs,text_gen4=text_gen4): go_t4=text_gen4(inputs) return(go_t4) def text_it5(inputs,text_gen5=text_gen5): go_t5=text_gen5(inputs) return(go_t5) def text_it6(inputs,text_gen6=text_gen6): go_t6=text_gen6(inputs) return(go_t6) def text_it7(inputs,text_gen7=text_gen7): go_t7=text_gen7(inputs) return(go_t7) def text_it8(inputs,text_gen8=text_gen8): go_t8=text_gen8(inputs) return(go_t8) def set_model(current_model): current_model = models[current_model] return gr.update(label=(f"{current_model}")),gr.update(label=(f"{current_model}")),gr.update(label=(f"{current_model}")),gr.update(label=(f"{current_model}")),gr.update(label=(f"{current_model}")),gr.update(label=(f"{current_model}")),gr.update(label=(f"{current_model}")),gr.update(label=(f"{current_model}")), def send_it1(inputs, model_choice): proc1=models2[model_choice] output1=proc1(inputs) return(output1) def send_it2(inputs, model_choice): proc2=models2[model_choice] output2=proc2(inputs) return(output2) def send_it3(inputs, model_choice): proc3=models2[model_choice] output3=proc3(inputs) return(output3) def send_it4(inputs, model_choice): proc4=models2[model_choice] output4=proc4(inputs) return(output4) def send_it5(inputs, model_choice): proc5=models2[model_choice] output5=proc5(inputs) return(output5) def send_it6(inputs, model_choice): proc6=models2[model_choice] output6=proc6(inputs) return(output6) def send_it7(inputs, model_choice): proc7=models2[model_choice] output7=proc7(inputs) return(output7) def send_it8(inputs, model_choice): proc8=models2[model_choice] output8=proc8(inputs) return(output8) css="""""" with gr.Blocks(css=css) as myface: gr.HTML("""
""") with gr.Row(): with gr.Tab("Title"): gr.HTML("""