Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,19 +1,3 @@
|
|
| 1 |
-
"""
|
| 2 |
-
Z-Image-i2L Gradio Demo
|
| 3 |
-
========================
|
| 4 |
-
A web interface for the Z-Image-i2L model that converts images to LoRA models.
|
| 5 |
-
|
| 6 |
-
Setup Instructions:
|
| 7 |
-
1. Install dependencies:
|
| 8 |
-
pip install -r requirements.txt
|
| 9 |
-
pip install huggingface_hub
|
| 10 |
-
|
| 11 |
-
2. Run this demo (models will be auto-downloaded):
|
| 12 |
-
python app.py
|
| 13 |
-
|
| 14 |
-
Note: This requires a GPU with sufficient VRAM (recommended 24GB+)
|
| 15 |
-
"""
|
| 16 |
-
|
| 17 |
import spaces
|
| 18 |
import gradio as gr
|
| 19 |
import torch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import spaces
|
| 2 |
import gradio as gr
|
| 3 |
import torch
|