carlgira commited on
Commit
2a97e46
1 Parent(s): 1329823

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -6,7 +6,8 @@ import torch
6
  from PIL import Image
7
  from diffusers import StableDiffusionInpaintPipeline
8
 
9
- auth_token = os.getenv("auth_token")
 
10
 
11
 
12
  def preview(image, state):
 
6
  from PIL import Image
7
  from diffusers import StableDiffusionInpaintPipeline
8
 
9
+
10
+ auth_token = os.environ.get("API_TOKEN") or True
11
 
12
 
13
  def preview(image, state):