Ahsen Khaliq commited on
Commit
6063bf9
1 Parent(s): 290df31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -12,6 +12,10 @@ torch.hub.download_url_to_file('https://hf.space/gradioiframe/akhaliq/AnimeGANv2
12
  from tqdm.notebook import tqdm
13
  import gradio as gr
14
 
 
 
 
 
15
  mtcnn = MTCNN(image_size=256, margin=80)
16
 
17
  # simplest ye olde trustworthy MTCNN for face detection with landmarks
12
  from tqdm.notebook import tqdm
13
  import gradio as gr
14
 
15
+ import torch
16
+
17
+ print(torch.cuda.is_available())
18
+
19
  mtcnn = MTCNN(image_size=256, margin=80)
20
 
21
  # simplest ye olde trustworthy MTCNN for face detection with landmarks