Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 28, 2025
1 parent 876998c commit e24c5d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async def generate(request: Request) -> Response:
print("LLaVA generation begin.")
request_dict = await request.json()
prompt = request_dict.pop("prompt")
img_b64_str = request_dict.pop("img_b64_str") # Only accept string
img_b64_str = request_dict.pop("img_b64_str") # Only accept string
max_new_tokens = request_dict.pop("max_new_tokens", 100)

# Determine the format of the role labels based on the model name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ langchain-core
opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
transformers
prometheus-fastapi-instrumentator
pydantic==2.7.2
pydub
shortuuid
transformers
uvicorn

0 comments on commit e24c5d6

Please sign in to comment.