Update main.py
Browse files
main.py
CHANGED
@@ -3,8 +3,8 @@ from fastapi import FastAPI
|
|
3 |
app = FastAPI()
|
4 |
|
5 |
@app.get("/")
|
6 |
-
def read_root(input:str):
|
7 |
-
return {"Hello":
|
8 |
|
9 |
@app.get("/test")
|
10 |
def read_test():
|
|
|
3 |
app = FastAPI()
|
4 |
|
5 |
@app.get("/")
|
6 |
+
def read_root(): #(input:str):
|
7 |
+
return {"Hello": "World!"}
|
8 |
|
9 |
@app.get("/test")
|
10 |
def read_test():
|