modified code and add files
Browse files
app.py
CHANGED
@@ -31,9 +31,9 @@ class Disease(BaseModel):
|
|
31 |
class Symptoms(BaseModel):
|
32 |
query: str
|
33 |
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
|
38 |
@app.post("/", response_model=list[Disease])
|
39 |
async def predict(symptoms: Symptoms):
|
|
|
31 |
class Symptoms(BaseModel):
|
32 |
query: str
|
33 |
|
34 |
+
@app.get("/")
|
35 |
+
def home():
|
36 |
+
return {"Hello": "World!"}
|
37 |
|
38 |
@app.post("/", response_model=list[Disease])
|
39 |
async def predict(symptoms: Symptoms):
|