hardik8588 commited on
Commit
6de226f
·
verified ·
1 Parent(s): a8dc0d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -8
app.py CHANGED
@@ -653,14 +653,6 @@ def summarize_text(text):
653
  print(f"Error in summarization: {str(e)}")
654
  return "Summarization failed. Please try again later."
655
 
656
- from fastapi import FastAPI
657
-
658
- app = FastAPI()
659
-
660
- @app.get("/health")
661
- def health_check():
662
- return {"status": "ok", "message": "API is running"}
663
-
664
 
665
  @app.post("/analyze_legal_document")
666
  async def analyze_legal_document(
 
653
  print(f"Error in summarization: {str(e)}")
654
  return "Summarization failed. Please try again later."
655
 
 
 
 
 
 
 
 
 
656
 
657
  @app.post("/analyze_legal_document")
658
  async def analyze_legal_document(