Spaces:
Runtime error
Runtime error
Commit
Β·
829fa44
1
Parent(s):
5c0e5df
Add hidden token
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import torch
|
|
10 |
from PIL import Image
|
11 |
import matplotlib.pyplot as plot
|
12 |
|
13 |
-
my_token =
|
14 |
|
15 |
with init_empty_weights():
|
16 |
pipe = pipeline.from_pretrained("CompVis/stable-diffusion-v1-4", revision="fp16", torch_dtype=torch.float16, use_auth_token=my_token).to("cuda")
|
|
|
10 |
from PIL import Image
|
11 |
import matplotlib.pyplot as plot
|
12 |
|
13 |
+
my_token = api_key
|
14 |
|
15 |
with init_empty_weights():
|
16 |
pipe = pipeline.from_pretrained("CompVis/stable-diffusion-v1-4", revision="fp16", torch_dtype=torch.float16, use_auth_token=my_token).to("cuda")
|