Demosthene-OR commited on
Commit
59f19eb
·
verified ·
1 Parent(s): 9543322

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
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": input}
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():