Spaces:
Sleeping
Sleeping
tr
Browse files
main.py
CHANGED
@@ -79,7 +79,7 @@ async def analyze_image(image_paths: list[UploadFile]):
|
|
79 |
# print(list(request.keys()))
|
80 |
# image_paths = request["image_paths"]
|
81 |
print(image_paths)
|
82 |
-
progress = print
|
83 |
global trocr_pipeline
|
84 |
# モデルが読み込まれているか確認
|
85 |
if trocr_pipeline is None:
|
|
|
79 |
# print(list(request.keys()))
|
80 |
# image_paths = request["image_paths"]
|
81 |
print(image_paths)
|
82 |
+
progress = lambda x, desc: print(x, desc)
|
83 |
global trocr_pipeline
|
84 |
# モデルが読み込まれているか確認
|
85 |
if trocr_pipeline is None:
|