|
|
|
|
|
import gradio as gr |
|
|
|
|
|
|
|
|
print('✅️ All libraries installed!') |
|
|
|
|
|
|
|
|
print('■') |
|
|
print('■■') |
|
|
print('■■■') |
|
|
print('■■') |
|
|
print('■') |
|
|
print('■') |
|
|
print('■■') |
|
|
print('■■■') |
|
|
print('■■') |
|
|
print('■') |
|
|
print('■') |
|
|
print('■■') |
|
|
print('■■■') |
|
|
print('■■') |
|
|
print('■') |
|
|
|
|
|
|
|
|
title = "WebDef.UI" |
|
|
|
|
|
|
|
|
description = \ |
|
|
""" |
|
|
__This is WebDef.UI__ Generate fantastic images with the latest AI models for __FREE__! |
|
|
|
|
|
 |
|
|
""" |
|
|
|
|
|
article = \ |
|
|
""" |
|
|
<h1 style='text-align: center'> |
|
|
🖼 Examples 🗂 |
|
|
</h1> |
|
|
|
|
|
 |
|
|
|
|
|
 |
|
|
|
|
|
 |
|
|
|
|
|
 |
|
|
|
|
|
 |
|
|
|
|
|
 |
|
|
|
|
|
 |
|
|
|
|
|
""" |
|
|
|
|
|
|
|
|
print('🎉 The app is ready to go!') |
|
|
|
|
|
gr.Interface.load("models/runwayml/stable-diffusion-v1-5", description=description, article=article).launch() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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") |