Spaces:
Running
Running
File size: 480 Bytes
0646b18 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
from dotenv import load_dotenv
from e2b import Template, default_build_logger
load_dotenv()
template = (
Template()
.from_template("code-interpreter-v1")
.pip_install(['langchain']) # Install Python packages
.npm_install(['langchain']) # Install Node.js packages
)
if __name__ == '__main__':
Template.build(
template,
alias="cuga-langchain",
cpu_count=2,
memory_mb=2048,
on_build_logs=default_build_logger(),
)
|