Spaces:
Sleeping
Sleeping
| from fastapi import FastAPI | |
| app = FastAPI() | |
| def read_root(): | |
| return {"message": "Hello World! Service is running!"} | |
| def health(): | |
| return {"status": "ok", "service": "running"} | |
| def review(data: dict): | |
| return { | |
| "comments": [ | |
| { | |
| "file_path": "test.py", | |
| "line_number": 1, | |
| "comment_text": "This looks good! Emergency service is working." | |
| } | |
| ] | |
| } | |