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