svjack commited on
Commit
92b4dc2
1 Parent(s): 148c316

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ from diffusers.pipelines.wuerstchen.pipeline_wuerstchen_prior import DEFAULT_STA
25
 
26
  device = 'cuda' if torch.cuda.is_available() else 'cpu'
27
 
28
-
29
  pipe = AutoPipelineForText2Image.from_pretrained(Path("wuerstchen"), local_files_only = True,
30
  torch_dtype=torch.float32)
31
  '''
 
25
 
26
  device = 'cuda' if torch.cuda.is_available() else 'cpu'
27
 
28
+ assert os.path.exists("wuerstchen")
29
  pipe = AutoPipelineForText2Image.from_pretrained(Path("wuerstchen"), local_files_only = True,
30
  torch_dtype=torch.float32)
31
  '''