ford442 commited on
Commit
ff684f3
·
verified ·
1 Parent(s): ff657e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ FTP_PASS = os.getenv("FTP_PASS")
80
  FTP_DIR = os.getenv("FTP_DIR")
81
 
82
  # os.putenv('TORCH_LINALG_PREFER_CUSOLVER','1')
83
-
84
  device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
85
 
86
  upscaler = UpscaleWithModel.from_pretrained("Kim2091/ClearRealityV1").to(torch.device("cuda:0"))
 
80
  FTP_DIR = os.getenv("FTP_DIR")
81
 
82
  # os.putenv('TORCH_LINALG_PREFER_CUSOLVER','1')
83
+ os.putenv('HF_HUB_ENABLE_HF_TRANSFER','1')
84
  device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
85
 
86
  upscaler = UpscaleWithModel.from_pretrained("Kim2091/ClearRealityV1").to(torch.device("cuda:0"))