Changed from /api/health to /health
Browse files- app/main.py +0 -9
app/main.py
CHANGED
|
@@ -79,12 +79,3 @@ async def predict(file: UploadFile = File(...)):
|
|
| 79 |
moves=ocr_data.get("moves"),
|
| 80 |
similar_cards=similar_cards
|
| 81 |
)
|
| 82 |
-
"""
|
| 83 |
-
gr.Interface(
|
| 84 |
-
fn=predict,
|
| 85 |
-
inputs=gr.File(label="Upload Pokémon Card"),
|
| 86 |
-
outputs=gr.JSON(),
|
| 87 |
-
title="Pokemon Card Image Processor",
|
| 88 |
-
description="Upload a Pokémon card image to extract its data and find similar cards."
|
| 89 |
-
).launch()
|
| 90 |
-
"""
|
|
|
|
| 79 |
moves=ocr_data.get("moves"),
|
| 80 |
similar_cards=similar_cards
|
| 81 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|