Skip to content

Commit 1e8a976

Browse files
committed
bump
1 parent 125290a commit 1e8a976

5 files changed

Lines changed: 25 additions & 27 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ __pycache__
44
.env
55
cropped_faces
66
.venv
7-
mediapipe_models
7+
mediapipe_models
8+
dump.txt

examples/dart/pubspec.lock

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ packages:
55
dependency: transitive
66
description:
77
name: _fe_analyzer_shared
8-
sha256: da0d9209ca76bde579f2da330aeb9df62b6319c834fa7baae052021b0462401f
8+
sha256: dd3d2ad434b9510001d089e8de7556d50c834481b9abc2891a0184a8493a19dc
99
url: "https://pub.dev"
1010
source: hosted
11-
version: "85.0.0"
11+
version: "89.0.0"
1212
analyzer:
1313
dependency: transitive
1414
description:
1515
name: analyzer
16-
sha256: "01949bf52ad33f0e0f74f881fbaac4f348c556531951d92c8d16f1262aa19ff8"
16+
sha256: c22b6e7726d1f9e5db58c7251606076a71ca0dbcf76116675edfadbec0c9e875
1717
url: "https://pub.dev"
1818
source: hosted
19-
version: "7.5.4"
19+
version: "8.2.0"
2020
args:
2121
dependency: transitive
2222
description:
@@ -69,10 +69,10 @@ packages:
6969
dependency: transitive
7070
description:
7171
name: coverage
72-
sha256: aa07dbe5f2294c827b7edb9a87bba44a9c15a3cc81bc8da2ca19b37322d30080
72+
sha256: "5da775aa218eaf2151c721b16c01c7676fbfdd99cebba2bf64e8b807a28ff94d"
7373
url: "https://pub.dev"
7474
source: hosted
75-
version: "1.14.1"
75+
version: "1.15.0"
7676
crypto:
7777
dependency: transitive
7878
description:
@@ -109,10 +109,10 @@ packages:
109109
dependency: "direct main"
110110
description:
111111
name: http
112-
sha256: "2c11f3f94c687ee9bad77c171151672986360b2b001d109814ee7140b2cf261b"
112+
sha256: bb2ce4590bc2667c96f318d68cac1b5a7987ec819351d32b1c987239a815e007
113113
url: "https://pub.dev"
114114
source: hosted
115-
version: "1.4.0"
115+
version: "1.5.0"
116116
http_multi_server:
117117
dependency: transitive
118118
description:
@@ -213,10 +213,10 @@ packages:
213213
dependency: transitive
214214
description:
215215
name: pool
216-
sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a"
216+
sha256: "978783255c543aa3586a1b3c21f6e9d720eb315376a915872c61ef8b5c20177d"
217217
url: "https://pub.dev"
218218
source: hosted
219-
version: "1.5.1"
219+
version: "1.5.2"
220220
pub_semver:
221221
dependency: transitive
222222
description:
@@ -317,26 +317,26 @@ packages:
317317
dependency: "direct dev"
318318
description:
319319
name: test
320-
sha256: "65e29d831719be0591f7b3b1a32a3cda258ec98c58c7b25f7b84241bc31215bb"
320+
sha256: "75906bf273541b676716d1ca7627a17e4c4070a3a16272b7a3dc7da3b9f3f6b7"
321321
url: "https://pub.dev"
322322
source: hosted
323-
version: "1.26.2"
323+
version: "1.26.3"
324324
test_api:
325325
dependency: transitive
326326
description:
327327
name: test_api
328-
sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00"
328+
sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55
329329
url: "https://pub.dev"
330330
source: hosted
331-
version: "0.7.6"
331+
version: "0.7.7"
332332
test_core:
333333
dependency: transitive
334334
description:
335335
name: test_core
336-
sha256: "80bf5a02b60af04b09e14f6fe68b921aad119493e26e490deaca5993fef1b05a"
336+
sha256: "0cc24b5ff94b38d2ae73e1eb43cc302b77964fbf67abad1e296025b78deb53d0"
337337
url: "https://pub.dev"
338338
source: hosted
339-
version: "0.6.11"
339+
version: "0.6.12"
340340
typed_data:
341341
dependency: transitive
342342
description:
@@ -357,10 +357,10 @@ packages:
357357
dependency: transitive
358358
description:
359359
name: watcher
360-
sha256: "0b7fd4a0bbc4b92641dbf20adfd7e3fd1398fe17102d94b674234563e110088a"
360+
sha256: "5bf046f41320ac97a469d506261797f35254fa61c641741ef32dacda98b7d39c"
361361
url: "https://pub.dev"
362362
source: hosted
363-
version: "1.1.2"
363+
version: "1.1.3"
364364
web:
365365
dependency: transitive
366366
description:
@@ -402,4 +402,4 @@ packages:
402402
source: hosted
403403
version: "3.1.3"
404404
sdks:
405-
dart: ">=3.8.1 <4.0.0"
405+
dart: ">=3.9.0 <4.0.0"

examples/dart/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ environment:
66
sdk: ^3.8.1
77

88
dependencies:
9-
http: any
9+
http: ^1.5.0
1010

1111
dev_dependencies:
1212
lints: ^5.0.0

main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from contextlib import asynccontextmanager
22
from fastapi import FastAPI, APIRouter, Depends
3-
import fastapi_swagger_dark as fsd
43
import logging
54

65
from src.middleware.auth import get_api_key
@@ -32,9 +31,8 @@ async def lifespan(app: FastAPI):
3231
logger.info("Application shutting down...")
3332

3433

35-
app = FastAPI(lifespan=lifespan, docs_url=None)
34+
app = FastAPI(lifespan=lifespan)
3635
router = APIRouter()
37-
fsd.install(router)
3836
app.include_router(router)
3937
app.include_router(classify.router)
4038
app.include_router(classify_batch.router)

requirements.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
fastapi[standard]==0.116.1
1+
fastapi[standard]==0.117.1
22
Pillow==11.3.0
33
filetype==1.2.0
44
torch==2.8.0
55
# TODO: install from package index when it's available
66
optimum-onnx[onnxruntime] @ git+https://github.com/huggingface/optimum-onnx.git
77
python-dotenv==1.1.1
88
mediapipe
9-
numpy
10-
fastapi-swagger-dark==0.0.7
9+
numpy

0 commit comments

Comments
 (0)