Skip to content

Commit 420afff

Browse files
authored
Merge branch 'main' into charlesfrye/actually-deploy
2 parents a76b740 + f9b9204 commit 420afff

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/app.py

+4
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,15 @@
99

1010
static_path = Path(__file__).with_name("frontend").resolve()
1111

12+
1213
@app.function(
1314
mounts=[modal.Mount.from_local_dir(static_path, remote_path="/assets")],
1415
container_idle_timeout=600,
1516
timeout=600,
1617
allow_concurrent_inputs=100,
18+
image=modal.Image.debian_slim(python_version="3.11").pip_install(
19+
"fastapi==0.115.5"
20+
),
1721
)
1822
@modal.asgi_app()
1923
def web():

src/moshi.py

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
modal.Image.debian_slim(python_version="3.11")
1313
.pip_install(
1414
"moshi==0.1.0",
15+
"fastapi==0.115.5",
1516
"huggingface_hub==0.24.7",
1617
"hf_transfer==0.1.8",
1718
"sphn==0.1.4",

0 commit comments

Comments
 (0)