Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -159,12 +159,12 @@ def generate_random_string(length):
|
|
159 |
characters = str(string.ascii_letters + string.digits)
|
160 |
return ''.join(random.choice(characters) for _ in range(length))
|
161 |
|
162 |
-
@gpu(void())
|
163 |
def calc():
|
164 |
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
|
169 |
x = grid(1)
|
170 |
|
|
|
159 |
characters = str(string.ascii_letters + string.digits)
|
160 |
return ''.join(random.choice(characters) for _ in range(length))
|
161 |
|
162 |
+
@gpu(void(),device=True,inline=True)
|
163 |
def calc():
|
164 |
|
165 |
+
nonlocal last_motion
|
166 |
+
nonlocal ip_loaded
|
167 |
+
nonlocal out
|
168 |
|
169 |
x = grid(1)
|
170 |
|