UdasriHasindu commited on
Commit
d1e7990
·
1 Parent(s): a9e276d

implement fastapi

Browse files
Files changed (1) hide show
  1. main.py +13 -0
main.py CHANGED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from fastapi import FastAPI
2
+
3
+ app = FastAPI(
4
+ title="Motor Impairment Score API",
5
+ description="API for predicting Parkinson's motor impairment from drawings."
6
+ )
7
+
8
+ @app.get("/")
9
+ async def root():
10
+ return {
11
+ "status": "ok",
12
+ "message": "Welcome to the Motor Impairment Score API"
13
+ }