nroggendorff commited on
Commit
2abfb08
·
verified ·
1 Parent(s): 4d85683

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  import torch
3
 
4
- d = "cuda" if torch.cuda.is_available else False
5
 
6
  if d:
7
  import spaces
 
1
  import gradio as gr
2
  import torch
3
 
4
+ d = "cuda" if torch.cuda.is_available() else False
5
 
6
  if d:
7
  import spaces