preeict payload change
Browse files- api_client.py +1 -1
api_client.py
CHANGED
|
@@ -7,7 +7,7 @@ import base64
|
|
| 7 |
BACKEND_URL = os.getenv("BACKEND_URL", "https://dcorcoran-pokemon-card-image-processor-api.hf.space")
|
| 8 |
|
| 9 |
|
| 10 |
-
headers = {"Authorization": f"Bearer {os.getenv('HF_TOKEN')}"}
|
| 11 |
|
| 12 |
|
| 13 |
def predict(image_bytes: bytes, filename: str) -> dict:
|
|
|
|
| 7 |
BACKEND_URL = os.getenv("BACKEND_URL", "https://dcorcoran-pokemon-card-image-processor-api.hf.space")
|
| 8 |
|
| 9 |
|
| 10 |
+
#headers = {"Authorization": f"Bearer {os.getenv('HF_TOKEN')}"}
|
| 11 |
|
| 12 |
|
| 13 |
def predict(image_bytes: bytes, filename: str) -> dict:
|