ABAO77 commited on
Commit
73ccb56
·
verified ·
1 Parent(s): 0f578ca

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -22,7 +22,6 @@ from grammar_checker import (
22
  )
23
 
24
  # Configure logging
25
- logging.basicConfig(level=logging.DEBUG)
26
 
27
  # Create FastAPI app
28
  app = FastAPI(
@@ -50,7 +49,7 @@ class GrammarCheckResponse(BaseModel):
50
  records: List[Dict[str, Any]] = []
51
 
52
 
53
- @app.post("/check-grammar-quiz/", response_model=GrammarCheckResponse)
54
  def check_grammar_quiz(
55
  background_tasks: BackgroundTasks,
56
  file: UploadFile = File(...),
 
22
  )
23
 
24
  # Configure logging
 
25
 
26
  # Create FastAPI app
27
  app = FastAPI(
 
49
  records: List[Dict[str, Any]] = []
50
 
51
 
52
+ @app.post("/check-grammar-quiz", response_model=GrammarCheckResponse)
53
  def check_grammar_quiz(
54
  background_tasks: BackgroundTasks,
55
  file: UploadFile = File(...),