saifeddinemk commited on
Commit
4c46b15
1 Parent(s): 8de6232
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -14,6 +14,10 @@ app = FastAPI()
14
  class LogAnalysisRequest(BaseModel):
15
  logs: list
16
 
 
 
 
 
17
  # Define the /analyze endpoint
18
  @app.post("/analyze")
19
  async def analyze_logs(request: LogAnalysisRequest):
 
14
  class LogAnalysisRequest(BaseModel):
15
  logs: list
16
 
17
+
18
+ @app.get("/")
19
+ def hello_world():
20
+ return "Hello World"
21
  # Define the /analyze endpoint
22
  @app.post("/analyze")
23
  async def analyze_logs(request: LogAnalysisRequest):