Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,8 +24,8 @@ import numpy as np
|
|
24 |
from huggingface_hub import hf_hub_download
|
25 |
|
26 |
def run(image, mode, sample_c=1.3, num_samples=3, sample_step=100):
|
27 |
-
device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
|
28 |
-
|
29 |
parser, parser_up = create_argparser()
|
30 |
|
31 |
args = parser.parse_args()
|
|
|
24 |
from huggingface_hub import hf_hub_download
|
25 |
|
26 |
def run(image, mode, sample_c=1.3, num_samples=3, sample_step=100):
|
27 |
+
device = torch.device("cuda") #if torch.cuda.is_available() else torch.device("cpu")
|
28 |
+
|
29 |
parser, parser_up = create_argparser()
|
30 |
|
31 |
args = parser.parse_args()
|