Spaces:
Running
on
Zero
Running
on
Zero
TheAwakenOne
commited on
Commit
•
6328bf1
1
Parent(s):
95e3c69
Updates
Browse files
README.md
CHANGED
@@ -6,17 +6,18 @@ colorTo: blue
|
|
6 |
sdk: gradio
|
7 |
sdk_version: 5.3.0
|
8 |
app_file: app.py
|
9 |
-
pinned:
|
10 |
---
|
11 |
|
12 |
# Flux Image Generator with Zero-GPU
|
13 |
|
14 |
-
This Space
|
15 |
|
16 |
-
|
17 |
-
|
18 |
-
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
|
|
|
6 |
sdk: gradio
|
7 |
sdk_version: 5.3.0
|
8 |
app_file: app.py
|
9 |
+
pinned: true
|
10 |
---
|
11 |
|
12 |
# Flux Image Generator with Zero-GPU
|
13 |
|
14 |
+
This Space demonstrates the Flux.1 Lite model for text-to-image generation.
|
15 |
|
16 |
+
## Model Citation
|
17 |
+
```bibtex
|
18 |
+
@article{flux1-lite,
|
19 |
+
title={Flux.1 Lite: Distilling Flux1.dev for Efficient Text-to-Image Generation},
|
20 |
+
author={Daniel Verdú, Javier Martín},
|
21 |
+
email={dverdu@freepik.com, javier.martin@freepik.com},
|
22 |
+
year={2024},
|
23 |
+
}
|
app.py
CHANGED
@@ -5,6 +5,16 @@ from huggingface_hub import HfApi
|
|
5 |
import spaces
|
6 |
import random
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
@spaces.GPU(duration=70)
|
9 |
def initialize_model():
|
10 |
model_id = "Freepik/flux.1-lite-8B-alpha"
|
|
|
5 |
import spaces
|
6 |
import random
|
7 |
|
8 |
+
"""
|
9 |
+
This application uses the Flux.1 Lite model:
|
10 |
+
@article{flux1-lite,
|
11 |
+
title={Flux.1 Lite: Distilling Flux1.dev for Efficient Text-to-Image Generation},
|
12 |
+
author={Daniel Verdú, Javier Martín},
|
13 |
+
email={dverdu@freepik.com, javier.martin@freepik.com},
|
14 |
+
year={2024},
|
15 |
+
}
|
16 |
+
"""
|
17 |
+
|
18 |
@spaces.GPU(duration=70)
|
19 |
def initialize_model():
|
20 |
model_id = "Freepik/flux.1-lite-8B-alpha"
|