Spaces:
Paused
Paused
Canvas label rename (wire contract)
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ ON_SPACES = bool(os.environ.get("SPACE_ID"))
|
|
| 43 |
# Must stay identical to the generator's table: the generator forwards the *label* to `/encode`, so a canvas this
|
| 44 |
# half does not know is rejected here and surfaces as a failure over there.
|
| 45 |
CANVASES = {
|
| 46 |
-
"960x544 路 16:9 fast
|
| 47 |
"1024x576 路 16:9 fast": (576, 1024),
|
| 48 |
"1152x640 路 16:9": (640, 1152),
|
| 49 |
"1280x704 路 16:9": (704, 1280),
|
|
@@ -57,7 +57,7 @@ CANVASES = {
|
|
| 57 |
"768x1024 路 3:4 full": (1024, 768),
|
| 58 |
"1536x672 路 21:9 full": (672, 1536),
|
| 59 |
}
|
| 60 |
-
DEFAULT_CANVAS = "960x544 路 16:9 fast
|
| 61 |
|
| 62 |
PIPE = None
|
| 63 |
REF2VA_PIPE = None
|
|
|
|
| 43 |
# Must stay identical to the generator's table: the generator forwards the *label* to `/encode`, so a canvas this
|
| 44 |
# half does not know is rejected here and surfaces as a failure over there.
|
| 45 |
CANVASES = {
|
| 46 |
+
"960x544 路 16:9 fast": (544, 960),
|
| 47 |
"1024x576 路 16:9 fast": (576, 1024),
|
| 48 |
"1152x640 路 16:9": (640, 1152),
|
| 49 |
"1280x704 路 16:9": (704, 1280),
|
|
|
|
| 57 |
"768x1024 路 3:4 full": (1024, 768),
|
| 58 |
"1536x672 路 21:9 full": (672, 1536),
|
| 59 |
}
|
| 60 |
+
DEFAULT_CANVAS = "960x544 路 16:9 fast"
|
| 61 |
|
| 62 |
PIPE = None
|
| 63 |
REF2VA_PIPE = None
|