Computer docstring

pull/4/head^2
killian 11 months ago
parent 2f5cc97b74
commit 51b000ca88

@ -0,0 +1,4 @@
"""
Watches the kernel. When it sees something that passes a filter,
it sends POST request with that to /computer.
"""

@ -0,0 +1,9 @@
"""
Exposes a SSE streaming server endpoint at /run, which recieves language and code,
and streams the output.
"""
from interpreter import interpreter
for chunk in interpreter.run(language, code, stream=True):
stream(chunk)
Loading…
Cancel
Save