fffiloni commited on
Commit
581caf0
·
1 Parent(s): de9459b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import gradio as gr
2
  import torch
3
  from torch import autocast
@@ -6,7 +8,7 @@ from diffusers import StableDiffusionPipeline
6
 
7
  print("hello sylvain")
8
 
9
- YOUR_TOKEN=process.env.HF_TOKEN_SD
10
 
11
  device="cpu"
12
 
 
1
+ import os
2
+
3
  import gradio as gr
4
  import torch
5
  from torch import autocast
 
8
 
9
  print("hello sylvain")
10
 
11
+ YOUR_TOKEN=os.environ.getattribute("HF_TOKEN_SD")
12
 
13
  device="cpu"
14