Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,6 +48,8 @@ root.addHandler(handler2)
|
|
| 48 |
|
| 49 |
# data
|
| 50 |
|
|
|
|
|
|
|
| 51 |
last_motion=array([""])
|
| 52 |
dtype = torch.float16
|
| 53 |
device = "cuda"
|
|
@@ -162,6 +164,8 @@ def generate_random_string(length):
|
|
| 162 |
@gpu(void())
|
| 163 |
def calc():
|
| 164 |
global inp
|
|
|
|
|
|
|
| 165 |
|
| 166 |
x = grid(1)
|
| 167 |
|
|
|
|
| 48 |
|
| 49 |
# data
|
| 50 |
|
| 51 |
+
out=array([""])
|
| 52 |
+
inp=[]
|
| 53 |
last_motion=array([""])
|
| 54 |
dtype = torch.float16
|
| 55 |
device = "cuda"
|
|
|
|
| 164 |
@gpu(void())
|
| 165 |
def calc():
|
| 166 |
global inp
|
| 167 |
+
global out
|
| 168 |
+
global last_motion
|
| 169 |
|
| 170 |
x = grid(1)
|
| 171 |
|