Spaces:
Sleeping
Sleeping
Upload main.py
Browse files
main.py
CHANGED
|
@@ -3,7 +3,7 @@ import httpx
|
|
| 3 |
|
| 4 |
app = FastAPI()
|
| 5 |
|
| 6 |
-
GCP_API_URL = "http://34.63.74.181
|
| 7 |
|
| 8 |
@app.post("/predict")
|
| 9 |
async def predict(request: Request):
|
|
|
|
| 3 |
|
| 4 |
app = FastAPI()
|
| 5 |
|
| 6 |
+
GCP_API_URL = "http://34.63.74.181/predict" # Your GCP FastAPI endpoint
|
| 7 |
|
| 8 |
@app.post("/predict")
|
| 9 |
async def predict(request: Request):
|