lemonaddie commited on
Commit
899ba61
·
verified ·
1 Parent(s): 94b7d7c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -381,13 +381,10 @@ def main():
381
  sys.path.append(os.path.join(os.getcwd(), REPO_DIR))
382
 
383
  from pipeline.depth_normal_pipeline_clip_cfg import DepthNormalEstimationPipeline
384
- pipeline = DepthNormalEstimationPipeline.from_pretrained("lemonaddie/Geowizard")
385
 
386
- device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
387
-
388
- print(1)
389
 
390
- pipe = pipeline.from_pretrained(CHECKPOINT)
391
  try:
392
  import xformers
393
  pipe.enable_xformers_memory_efficient_attention()
@@ -400,5 +397,4 @@ def main():
400
 
401
  if __name__ == "__main__":
402
  main()
403
- # 1
404
- # 2
 
381
  sys.path.append(os.path.join(os.getcwd(), REPO_DIR))
382
 
383
  from pipeline.depth_normal_pipeline_clip_cfg import DepthNormalEstimationPipeline
 
384
 
385
+ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
386
+ pipe = DepthNormalEstimationPipeline.from_pretrained(CHECKPOINT)
 
387
 
 
388
  try:
389
  import xformers
390
  pipe.enable_xformers_memory_efficient_attention()
 
397
 
398
  if __name__ == "__main__":
399
  main()
400
+ # 1