Spaces:
Running on Zero
Running on Zero
update app
Browse files
app.py
CHANGED
|
@@ -54,8 +54,8 @@ def infer(
|
|
| 54 |
|
| 55 |
NOTE: `image_b64` is the fully FLATTENED board sent by the frontend —
|
| 56 |
the free-hand sketch, every sticker/asset, every text object AND every
|
| 57 |
-
line/arrow/shape are already composited into this single PNG, so all
|
| 58 |
-
|
| 59 |
"""
|
| 60 |
gc.collect()
|
| 61 |
torch.cuda.empty_cache()
|
|
|
|
| 54 |
|
| 55 |
NOTE: `image_b64` is the fully FLATTENED board sent by the frontend —
|
| 56 |
the free-hand sketch, every sticker/asset, every text object AND every
|
| 57 |
+
line/arrow/shape are already composited into this single PNG, so all of
|
| 58 |
+
them are reflected in the conditioning image passed to the pipeline.
|
| 59 |
"""
|
| 60 |
gc.collect()
|
| 61 |
torch.cuda.empty_cache()
|