Spaces:
Running
on
Zero
Running
on
Zero
Enable Space CI
#39
by
Wauplin
HF staff
- opened
- README.md +8 -4
- app.py +6 -0
- requirements.txt +2 -1
README.md
CHANGED
@@ -1,16 +1,20 @@
|
|
1 |
---
|
2 |
title: QR Code AI Art Generator
|
3 |
-
emoji: π±π²
|
4 |
-
colorFrom: red
|
5 |
-
colorTo: green
|
6 |
sdk: gradio
|
7 |
sdk_version: 4.8.0
|
8 |
app_file: app.py
|
|
|
|
|
|
|
|
|
9 |
pinned: false
|
10 |
suggested_hardware: t4-medium
|
11 |
startup_duration_timeout: 1h
|
12 |
-
duplicated_from: huggingface-projects/QR-code-AI-art-generator
|
13 |
disable_embedding: true
|
|
|
|
|
|
|
|
|
14 |
---
|
15 |
|
16 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
title: QR Code AI Art Generator
|
|
|
|
|
|
|
3 |
sdk: gradio
|
4 |
sdk_version: 4.8.0
|
5 |
app_file: app.py
|
6 |
+
duplicated_from: huggingface-projects/QR-code-AI-art-generator
|
7 |
+
emoji: π±π²
|
8 |
+
colorFrom: red
|
9 |
+
colorTo: green
|
10 |
pinned: false
|
11 |
suggested_hardware: t4-medium
|
12 |
startup_duration_timeout: 1h
|
|
|
13 |
disable_embedding: true
|
14 |
+
space_ci:
|
15 |
+
trusted_authors: []
|
16 |
+
secrets: []
|
17 |
+
hardware: cpu-basic
|
18 |
---
|
19 |
|
20 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
@@ -10,6 +10,12 @@ import os
|
|
10 |
from PIL import Image
|
11 |
|
12 |
from diffusers import (
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
StableDiffusionPipeline,
|
14 |
StableDiffusionControlNetImg2ImgPipeline,
|
15 |
ControlNetModel,
|
|
|
10 |
from PIL import Image
|
11 |
|
12 |
from diffusers import (
|
13 |
+
|
14 |
+
from gradio_space_ci import enable_space_ci
|
15 |
+
|
16 |
+
enable_space_ci()
|
17 |
+
|
18 |
+
|
19 |
StableDiffusionPipeline,
|
20 |
StableDiffusionControlNetImg2ImgPipeline,
|
21 |
ControlNetModel,
|
requirements.txt
CHANGED
@@ -6,4 +6,5 @@ xformers
|
|
6 |
gradio
|
7 |
Pillow
|
8 |
qrcode
|
9 |
-
gradio==4.8.0
|
|
|
|
6 |
gradio
|
7 |
Pillow
|
8 |
qrcode
|
9 |
+
gradio==4.8.0
|
10 |
+
gradio-space-ci @ git+https://huggingface.co/spaces/Wauplin/[email protected]
|