Spaces:
Running
on
Zero
Running
on
Zero
Tanut
commited on
Commit
·
5cb3999
1
Parent(s):
a3657ef
Roll back
Browse files- app.py +1 -0
- requirements.txt +8 -11
app.py
CHANGED
@@ -16,6 +16,7 @@ from diffusers import (
|
|
16 |
os.environ.setdefault("MPLCONFIGDIR", "/tmp/mpl")
|
17 |
|
18 |
|
|
|
19 |
# ---- base models for the two tabs ----
|
20 |
BASE_MODELS = {
|
21 |
"stable-diffusion-v1-5": "runwayml/stable-diffusion-v1-5",
|
|
|
16 |
os.environ.setdefault("MPLCONFIGDIR", "/tmp/mpl")
|
17 |
|
18 |
|
19 |
+
|
20 |
# ---- base models for the two tabs ----
|
21 |
BASE_MODELS = {
|
22 |
"stable-diffusion-v1-5": "runwayml/stable-diffusion-v1-5",
|
requirements.txt
CHANGED
@@ -1,16 +1,13 @@
|
|
1 |
-
# Core
|
2 |
numpy==1.26.4
|
3 |
torch==2.2.0
|
4 |
diffusers==0.30.2
|
5 |
-
accelerate
|
6 |
-
transformers
|
7 |
-
safetensors
|
|
|
|
|
8 |
huggingface_hub==0.29.3
|
|
|
|
|
|
|
9 |
|
10 |
-
# UI / HF Spaces
|
11 |
-
gradio==4.44.1
|
12 |
-
spaces==0.27.1
|
13 |
-
|
14 |
-
# QR + imaging
|
15 |
-
qrcode[pil]==7.4.2
|
16 |
-
Pillow==10.3.0
|
|
|
|
|
1 |
numpy==1.26.4
|
2 |
torch==2.2.0
|
3 |
diffusers==0.30.2
|
4 |
+
accelerate>=0.25.0
|
5 |
+
transformers>=4.40.0
|
6 |
+
safetensors
|
7 |
+
gradio>=4.44.1
|
8 |
+
pydantic==2.10.6
|
9 |
huggingface_hub==0.29.3
|
10 |
+
spaces
|
11 |
+
qrcode[pil]
|
12 |
+
Pillow
|
13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|