Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def draw_boxes(image, boxes):
|
|
37 |
|
38 |
|
39 |
@app.post("/", response_class=HTMLResponse)
|
40 |
-
async def detect_yolo(request: Request, url: str = Form(...)
|
41 |
try:
|
42 |
# Download the image from the specified URL
|
43 |
async with httpx.AsyncClient() as client:
|
|
|
37 |
|
38 |
|
39 |
@app.post("/", response_class=HTMLResponse)
|
40 |
+
async def detect_yolo(request: Request, url: str = Form(...))
|
41 |
try:
|
42 |
# Download the image from the specified URL
|
43 |
async with httpx.AsyncClient() as client:
|