Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
| 17 |
# pipe.to(device)
|
| 18 |
print(f"Model loaded on {device}")
|
| 19 |
|
| 20 |
-
INSTRUCTION =
|
| 21 |
|
| 22 |
|
| 23 |
@spaces.GPU
|
|
|
|
| 17 |
# pipe.to(device)
|
| 18 |
print(f"Model loaded on {device}")
|
| 19 |
|
| 20 |
+
INSTRUCTION = {'edit_instruction':'Generate a detailed grayscale alpha matte. Map the opaque foreground to white and the background to black. Produce soft, anti-aliased grayscale gradients at the edges of the subject to represent fine details and transparency.'}
|
| 21 |
|
| 22 |
|
| 23 |
@spaces.GPU
|