Spaces:
Running
on
Zero
Running
on
Zero
fda
Browse files
mysite/interpreter/process.py
CHANGED
@@ -100,6 +100,7 @@ def process_file(fileobj, prompt, foldername,token=None):
|
|
100 |
)
|
101 |
stdout, stderr = proc.communicate(input="n\ny\ny\n")
|
102 |
url = github(token,foldername)
|
|
|
103 |
return f"Processed url:{url}\nContent:\n{stdout}\n\nMake Command Output:\n{stdout}\n\nMake Command Error:\n{stderr}"
|
104 |
except subprocess.CalledProcessError as e:
|
105 |
return f"Processed url:{url}\nContent:\n{stdout}\n\nMake Command Error:\n{e.stderr}"
|
|
|
100 |
)
|
101 |
stdout, stderr = proc.communicate(input="n\ny\ny\n")
|
102 |
url = github(token,foldername)
|
103 |
+
test_set_lide(prompt,url)
|
104 |
return f"Processed url:{url}\nContent:\n{stdout}\n\nMake Command Output:\n{stdout}\n\nMake Command Error:\n{stderr}"
|
105 |
except subprocess.CalledProcessError as e:
|
106 |
return f"Processed url:{url}\nContent:\n{stdout}\n\nMake Command Error:\n{e.stderr}"
|