Error handling
Browse files- api_client.py +0 -3
api_client.py
CHANGED
|
@@ -1,9 +1,6 @@
|
|
| 1 |
import requests
|
| 2 |
import os
|
| 3 |
-
from fastapi import FastAPI, File, UploadFile
|
| 4 |
-
from fastapi.responses import JSONResponse
|
| 5 |
import requests
|
| 6 |
-
import io
|
| 7 |
|
| 8 |
#BACKEND_URL = "http://localhost:8000"
|
| 9 |
BACKEND_URL = os.getenv("BACKEND_URL", "https://dcorcoran-pokemon-card-image-processor-api.hf.space")
|
|
|
|
| 1 |
import requests
|
| 2 |
import os
|
|
|
|
|
|
|
| 3 |
import requests
|
|
|
|
| 4 |
|
| 5 |
#BACKEND_URL = "http://localhost:8000"
|
| 6 |
BACKEND_URL = os.getenv("BACKEND_URL", "https://dcorcoran-pokemon-card-image-processor-api.hf.space")
|