Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from PIL import Image
|
|
| 5 |
import os
|
| 6 |
|
| 7 |
# --- CONFIGURATION ---
|
| 8 |
-
MODEL_ID = "FlameF0X/Stable-Lime-v1.
|
| 9 |
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
| 10 |
|
| 11 |
print(f"🍋 Initializing Stable-Lime Protocol on {DEVICE}...")
|
|
@@ -48,7 +48,7 @@ h1 { color: #ff5722; text-align: center; font-weight: bold; letter-spacing: 2px;
|
|
| 48 |
"""
|
| 49 |
|
| 50 |
# --- THE UI ---
|
| 51 |
-
with gr.Blocks(css=custom_css, title="Stable-Lime v1.
|
| 52 |
gr.HTML("<h1>> STABLE-LIME v1.0 <</h1>")
|
| 53 |
|
| 54 |
with gr.Row():
|
|
@@ -58,7 +58,7 @@ with gr.Blocks(css=custom_css, title="Stable-Lime v1.0") as demo:
|
|
| 58 |
|
| 59 |
generate_btn = gr.Button("INITIALIZE GENERATION", elem_classes="lime-btn")
|
| 60 |
|
| 61 |
-
gr.HTML("<div class='footer'>Running on Unconditional U-Net Architecture | Powered by
|
| 62 |
|
| 63 |
# Wire up the button
|
| 64 |
generate_btn.click(
|
|
|
|
| 5 |
import os
|
| 6 |
|
| 7 |
# --- CONFIGURATION ---
|
| 8 |
+
MODEL_ID = "FlameF0X/Stable-Lime-v1.1"
|
| 9 |
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
| 10 |
|
| 11 |
print(f"🍋 Initializing Stable-Lime Protocol on {DEVICE}...")
|
|
|
|
| 48 |
"""
|
| 49 |
|
| 50 |
# --- THE UI ---
|
| 51 |
+
with gr.Blocks(css=custom_css, title="Stable-Lime v1.1") as demo:
|
| 52 |
gr.HTML("<h1>> STABLE-LIME v1.0 <</h1>")
|
| 53 |
|
| 54 |
with gr.Row():
|
|
|
|
| 58 |
|
| 59 |
generate_btn = gr.Button("INITIALIZE GENERATION", elem_classes="lime-btn")
|
| 60 |
|
| 61 |
+
gr.HTML("<div class='footer'>Running on Unconditional U-Net Architecture | Powered by Limes</div>")
|
| 62 |
|
| 63 |
# Wire up the button
|
| 64 |
generate_btn.click(
|