We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a76b740 + f9b9204 commit 420afffCopy full SHA for 420afff
src/app.py
@@ -9,11 +9,15 @@
9
10
static_path = Path(__file__).with_name("frontend").resolve()
11
12
+
13
@app.function(
14
mounts=[modal.Mount.from_local_dir(static_path, remote_path="/assets")],
15
container_idle_timeout=600,
16
timeout=600,
17
allow_concurrent_inputs=100,
18
+ image=modal.Image.debian_slim(python_version="3.11").pip_install(
19
+ "fastapi==0.115.5"
20
+ ),
21
)
22
@modal.asgi_app()
23
def web():
src/moshi.py
@@ -12,6 +12,7 @@
modal.Image.debian_slim(python_version="3.11")
.pip_install(
"moshi==0.1.0",
+ "fastapi==0.115.5",
"huggingface_hub==0.24.7",
"hf_transfer==0.1.8",
"sphn==0.1.4",
0 commit comments