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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -25,6 +25,7 @@ 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
  parser, parser_up = create_argparser()
29
 
30
  args = parser.parse_args()
 
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()