Spaces:
Runtime error
Runtime error
Commit
·
16e9d06
1
Parent(s):
8479dbd
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ class Demo:
|
|
| 22 |
def __init__(self) -> None:
|
| 23 |
|
| 24 |
self.training = False
|
| 25 |
-
|
| 26 |
self.diffuser = StableDiffuser(scheduler='DDIM', seed=42).to('cuda:1').eval().half()
|
| 27 |
|
| 28 |
with gr.Blocks() as demo:
|
|
|
|
| 22 |
def __init__(self) -> None:
|
| 23 |
|
| 24 |
self.training = False
|
| 25 |
+
print(f'Available GPUs: {torch.cuda.device_count()}')
|
| 26 |
self.diffuser = StableDiffuser(scheduler='DDIM', seed=42).to('cuda:1').eval().half()
|
| 27 |
|
| 28 |
with gr.Blocks() as demo:
|