Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ if torch.cuda.is_available():
|
|
| 36 |
pipe.to(device="cuda", dtype=torch.bfloat16)
|
| 37 |
|
| 38 |
# Function
|
| 39 |
-
@spaces.GPU(
|
| 40 |
def generate_image(
|
| 41 |
prompt,
|
| 42 |
width=768,
|
|
|
|
| 36 |
pipe.to(device="cuda", dtype=torch.bfloat16)
|
| 37 |
|
| 38 |
# Function
|
| 39 |
+
@spaces.GPU()
|
| 40 |
def generate_image(
|
| 41 |
prompt,
|
| 42 |
width=768,
|