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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -6,8 +6,14 @@ from type.state_schema import RAGState
6
 
7
  api = FastAPI()
8
 
9
- # if __name__ == "__main__":
 
10
  @app.get("/")
 
 
 
 
 
11
  def rag_pipeline_graph():
12
  graph = get_rag_pipeline_graph()
13
 
 
6
 
7
  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