Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -161,7 +161,7 @@ def generate_random_string(length):
|
|
161 |
|
162 |
@gpu(void(),device=True,inline=True)
|
163 |
def calc():
|
164 |
-
|
165 |
nonlocal last_motion
|
166 |
nonlocal ip_loaded
|
167 |
nonlocal out
|
@@ -202,6 +202,8 @@ def calc():
|
|
202 |
|
203 |
def handle(*args):
|
204 |
global inp
|
|
|
|
|
205 |
global out
|
206 |
|
207 |
inp = args
|
|
|
161 |
|
162 |
@gpu(void(),device=True,inline=True)
|
163 |
def calc():
|
164 |
+
nonlocal inp
|
165 |
nonlocal last_motion
|
166 |
nonlocal ip_loaded
|
167 |
nonlocal out
|
|
|
202 |
|
203 |
def handle(*args):
|
204 |
global inp
|
205 |
+
global last_motion
|
206 |
+
global ip_loaded
|
207 |
global out
|
208 |
|
209 |
inp = args
|