tfwang commited on
Commit
d9ab8cd
·
1 Parent(s): 7b43b47

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- print(device)
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()