Skip to content

Commit

Permalink
Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
freider committed Nov 26, 2024
1 parent 9080b89 commit ae3e336
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 07_web_endpoints/fasthtml-checkboxes/fasthtml_checkboxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import time
from asyncio import Lock
from pathlib import Path, PosixPath
from pathlib import Path
from uuid import uuid4

import modal
Expand All @@ -34,9 +34,9 @@


@app.function(
image=modal.Image.debian_slim(python_version="3.12").pip_install(
"python-fasthtml==0.6.9", "inflect~=7.4.0"
).add_local_file(css_path_local, remote_path=css_path_remote),
image=modal.Image.debian_slim(python_version="3.12")
.pip_install("python-fasthtml==0.6.9", "inflect~=7.4.0")
.add_local_file(css_path_local, remote_path=css_path_remote),
concurrency_limit=1, # we currently maintain state in memory, so we restrict the server to one worker
allow_concurrent_inputs=1000,
)
Expand Down

0 comments on commit ae3e336

Please sign in to comment.