Spaces:
Sleeping
Sleeping
image_paths: UploadFile
Browse files
main.py
CHANGED
@@ -73,7 +73,7 @@ def load_dependencies():
|
|
73 |
|
74 |
|
75 |
@app.post("/analyze/")
|
76 |
-
async def analyze_image(
|
77 |
progress = print
|
78 |
global trocr_pipeline
|
79 |
# モデルが読み込まれているか確認
|
|
|
73 |
|
74 |
|
75 |
@app.post("/analyze/")
|
76 |
+
async def analyze_image(image_paths: UploadFile):
|
77 |
progress = print
|
78 |
global trocr_pipeline
|
79 |
# モデルが読み込まれているか確認
|