Spaces:
Running
on
Zero
Running
on
Zero
update
Browse files
app.py
CHANGED
@@ -302,7 +302,7 @@ gif = turtle.save_gif('')
|
|
302 |
"""
|
303 |
try:
|
304 |
results = {}
|
305 |
-
func_timeout(
|
306 |
# exec(code_with_header_and_save, globals())
|
307 |
if 'gif' in results:
|
308 |
return results['gif']
|
|
|
302 |
"""
|
303 |
try:
|
304 |
results = {}
|
305 |
+
func_timeout(30, exec, args=(code_with_header_and_save, results))
|
306 |
# exec(code_with_header_and_save, globals())
|
307 |
if 'gif' in results:
|
308 |
return results['gif']
|