Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"))
|