Spaces:
Sleeping
Sleeping
Added globals
Browse files
app.py
CHANGED
|
@@ -4,6 +4,12 @@ import spaces
|
|
| 4 |
from diffqrcoder_wrapper import generate_qr_art, load_pipeline
|
| 5 |
import torch
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
@spaces.GPU
|
| 9 |
def infer(
|
|
|
|
| 4 |
from diffqrcoder_wrapper import generate_qr_art, load_pipeline
|
| 5 |
import torch
|
| 6 |
|
| 7 |
+
DEFAULT_PROMPT = (
|
| 8 |
+
"whimsical biomimetic blueprint, iridescent inks swirling through "
|
| 9 |
+
"mechanical petals, soft gears woven with luminescent filigree"
|
| 10 |
+
)
|
| 11 |
+
|
| 12 |
+
DEFAULT_NEG = "easynegative"
|
| 13 |
|
| 14 |
@spaces.GPU
|
| 15 |
def infer(
|