Spaces:
Sleeping
Sleeping
Codelinhtinh
commited on
Commit
·
41ed92b
1
Parent(s):
26c9c51
change api
Browse files- .gitattributes +1 -0
- api.py +1 -1
.gitattributes
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
weight/best_m.onnx filter=lfs diff=lfs merge=lfs -text
|
api.py
CHANGED
|
@@ -22,7 +22,7 @@ session = load_session(PATH_MODEL)
|
|
| 22 |
|
| 23 |
@api.get("/")
|
| 24 |
def read_root():
|
| 25 |
-
return {"message": "Hello
|
| 26 |
|
| 27 |
@api.post("/predict/")
|
| 28 |
async def predict(file: UploadFile):
|
|
|
|
| 22 |
|
| 23 |
@api.get("/")
|
| 24 |
def read_root():
|
| 25 |
+
return {"message": "Hello ! Welcome to my Demo"}
|
| 26 |
|
| 27 |
@api.post("/predict/")
|
| 28 |
async def predict(file: UploadFile):
|