dasomaru commited on
Commit
8c2b3fc
Β·
verified Β·
1 Parent(s): 6b590d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,12 +8,12 @@ api = FastAPI()
8
 
9
 
10
 
11
- @app.get("/")
12
  def greet_json():
13
  return {"Hello": "World!"}
14
 
15
  # if __name__ == "__main__":
16
- @app.post("/")
17
  def rag_pipeline_graph():
18
  graph = get_rag_pipeline_graph()
19
 
 
8
 
9
 
10
 
11
+ @api.get("/")
12
  def greet_json():
13
  return {"Hello": "World!"}
14
 
15
  # if __name__ == "__main__":
16
+ @api.post("/")
17
  def rag_pipeline_graph():
18
  graph = get_rag_pipeline_graph()
19