Grokgpt commited on
Commit
3f8b1bf
1 Parent(s): e73c4a2

Added app.get to main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -2,6 +2,6 @@ from fastapi import FastAPI
2
 
3
  app = FastAPI()
4
 
5
-
6
  def read_root():
7
  return {"Hello": "World!!!"}
 
2
 
3
  app = FastAPI()
4
 
5
+ @app.get("/")
6
  def read_root():
7
  return {"Hello": "World!!!"}