Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from PIL import Image
|
|
4 |
import io
|
5 |
|
6 |
# URL for FastAPI backend (ensure to replace with your actual FastAPI URL)
|
7 |
-
FASTAPI_URL = "
|
8 |
|
9 |
def predict_image(image: Image.Image):
|
10 |
# Convert PIL image to bytes
|
|
|
4 |
import io
|
5 |
|
6 |
# URL for FastAPI backend (ensure to replace with your actual FastAPI URL)
|
7 |
+
FASTAPI_URL = "https://fiamenova-aap.hf.space/predict/"
|
8 |
|
9 |
def predict_image(image: Image.Image):
|
10 |
# Convert PIL image to bytes
|