Changed backlend url on app_client.py
Browse files- api_client.py +1 -1
api_client.py
CHANGED
|
@@ -2,7 +2,7 @@ import requests
|
|
| 2 |
import os
|
| 3 |
|
| 4 |
#BACKEND_URL = "http://localhost:8000"
|
| 5 |
-
BACKEND_URL = os.getenv("BACKEND_URL", "https://dcorcoran-
|
| 6 |
|
| 7 |
def predict(image_bytes: bytes, filename: str) -> dict:
|
| 8 |
try:
|
|
|
|
| 2 |
import os
|
| 3 |
|
| 4 |
#BACKEND_URL = "http://localhost:8000"
|
| 5 |
+
BACKEND_URL = os.getenv("BACKEND_URL", "https://dcorcoran-pokemon-card-image-processor-api.hf.space")
|
| 6 |
|
| 7 |
def predict(image_bytes: bytes, filename: str) -> dict:
|
| 8 |
try:
|