Yaron Koresh commited on
Commit
fb02eb0
·
verified ·
1 Parent(s): 9424685

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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