hiascend commited on
Commit
99447d8
·
verified ·
1 Parent(s): 9d8ce1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -3,6 +3,11 @@ import spaces
3
  import torch
4
 
5
 
 
 
 
 
 
6
  def greet(n):
7
  print('cuda avaliable: ' + str(torch.cuda.is_available()))
8
 
 
3
  import torch
4
 
5
 
6
+ @spaces.GPU()
7
+ def fn():
8
+ print('fn')
9
+
10
+
11
  def greet(n):
12
  print('cuda avaliable: ' + str(torch.cuda.is_available()))
13