machinelearnear commited on
Commit
89b2112
1 Parent(s): b909347

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,8 +17,8 @@ from diffusers import StableDiffusionPipeline
17
  from huggingface_hub import snapshot_download
18
 
19
 
20
- is_spaces = True if "SPACE_ID" in os.environ else False
21
- is_shared_ui = True if "IS_SHARED_UI" in os.environ else False
22
  is_gpu_associated = torch.cuda.is_available()
23
 
24
  css = '''
 
17
  from huggingface_hub import snapshot_download
18
 
19
 
20
+ is_spaces = False if "SPACE_ID" in os.environ else False # local
21
+ is_shared_ui = False if "IS_SHARED_UI" in os.environ else False # local
22
  is_gpu_associated = torch.cuda.is_available()
23
 
24
  css = '''