Sudipta Nayak
commited on
Commit
Β·
39e53c4
1
Parent(s):
84a14d0
moved folders inside app
Browse files
app/main.py
CHANGED
@@ -15,7 +15,7 @@ class Item(BaseModel):
|
|
15 |
file: UploadFile
|
16 |
|
17 |
@app.get("/", response_class=HTMLResponse)
|
18 |
-
async def
|
19 |
return templates.TemplateResponse("index.html", {"request": request})
|
20 |
|
21 |
@app.post("/detect", response_class=HTMLResponse)
|
|
|
15 |
file: UploadFile
|
16 |
|
17 |
@app.get("/", response_class=HTMLResponse)
|
18 |
+
async def root(request: Request):
|
19 |
return templates.TemplateResponse("index.html", {"request": request})
|
20 |
|
21 |
@app.post("/detect", response_class=HTMLResponse)
|
{model β app/model}/best.pt
RENAMED
File without changes
|
{templates β app/templates}/index.html
RENAMED
File without changes
|
{templates β app/templates}/result.html
RENAMED
File without changes
|