Spaces:
Sleeping
Sleeping
fda
Browse files
mysite/interpreter/process.py
CHANGED
@@ -9,7 +9,6 @@ from mysite.libs.logger import logger
|
|
9 |
import async_timeout
|
10 |
import asyncio
|
11 |
import mysite.interpreter.interpreter_config
|
12 |
-
from controllers.gra_04_database.rides import test_set_lide
|
13 |
|
14 |
GENERATION_TIMEOUT_SEC=60
|
15 |
BASE_PATH = "/home/user/app/controllers/"
|
@@ -50,7 +49,7 @@ def no_process_file(prompt, foldername):
|
|
50 |
except Exception as e:
|
51 |
return f"Error writing prompt to file: {str(e)}"
|
52 |
time.sleep(1)
|
53 |
-
|
54 |
try:
|
55 |
proc = subprocess.Popen(
|
56 |
["make", "run", foldername],
|
|
|
9 |
import async_timeout
|
10 |
import asyncio
|
11 |
import mysite.interpreter.interpreter_config
|
|
|
12 |
|
13 |
GENERATION_TIMEOUT_SEC=60
|
14 |
BASE_PATH = "/home/user/app/controllers/"
|
|
|
49 |
except Exception as e:
|
50 |
return f"Error writing prompt to file: {str(e)}"
|
51 |
time.sleep(1)
|
52 |
+
|
53 |
try:
|
54 |
proc = subprocess.Popen(
|
55 |
["make", "run", foldername],
|