webdef / sd_ui.py
TenPoisk
Update sd_ui.py
388a10d
raw
history blame
1.84 kB
#import library
import gradio as gr
#ready library install
print('✅️ All libraries installed!')
#loading
print('■')
print('■■')
print('■■■')
print('■■')
print('■')
print('■')
print('■■')
print('■■■')
print('■■')
print('■')
print('■')
print('■■')
print('■■■')
print('■■')
print('■')
#title of app
title = "WebDef.UI"
#description of app
description = \
"""
__This is WebDef.UI__ Generate fantastic images with the latest AI models for __FREE__!
![](https://raw.githubusercontent.com/ehristoforu/imghost/main/Picsart_23-08-04_21-51-22-975.png)
"""
#article of app
article = \
"""
<h1 style='text-align: center'>
🖼 Examples 🗂
</h1>
![](https://raw.githubusercontent.com/ehristoforu/imghost/main/e410407a-ad56-42cc-bd6d-5005e3496de9.jpg)
![](https://raw.githubusercontent.com/ehristoforu/imghost/main/1ed88847-5b11-4313-926f-9e7b211fb5ad.jpg)
![](https://raw.githubusercontent.com/ehristoforu/imghost/main/22b15d20-425f-4d43-a689-b195d8d86251.jpg)
![](https://raw.githubusercontent.com/ehristoforu/imghost/main/31c77b98-1019-4ea6-9c89-d66d25ab1586.jpg)
![](https://raw.githubusercontent.com/ehristoforu/imghost/main/9252ee88-d55e-40fc-8600-de6de4ed5a03.jpg)
![](https://raw.githubusercontent.com/ehristoforu/imghost/main/e1f0a808-872f-4049-befb-ecf7b13b9fee.jpg)
![](https://raw.githubusercontent.com/ehristoforu/imghost/main/f4114d26-2849-4578-ae49-6d3a52d92676.jpg)
"""
#ready rum space
print('🎉 The app is ready to go!')
gr.Interface.load("models/runwayml/stable-diffusion-v1-5", description=description, article=article).launch()
#models
print("runwayml/stable-diffusion-v1-5")
print("stabilityai/stable-diffusion-2-1")
print("stabilityai/stable-diffusion-xl-base-1.0")
print("prompthero/openjourney")
print("dalle-mini/dalle-mini")