Update app.py
Browse files
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 |
|