Commit
·
f177806
1
Parent(s):
7ce8879
Further changed the model
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ MAX_TEXT_LENGTH = 4096
|
|
26 |
CHUNK_SIZE = 3 # Sentences per chunk
|
27 |
OVERLAP = 1
|
28 |
|
29 |
-
app = FastAPI(title="Essay Analyzer
|
30 |
|
31 |
# Environment setup
|
32 |
CACHE_DIR = "/tmp/huggingface"
|
@@ -198,7 +198,7 @@ async def health():
|
|
198 |
@app.get("/")
|
199 |
async def root():
|
200 |
return {
|
201 |
-
"service": "
|
202 |
"version": "2.0.0",
|
203 |
"documentation": {
|
204 |
"/analyze": "POST - Analyze PDF (AI detection + plagiarism check)",
|
|
|
26 |
CHUNK_SIZE = 3 # Sentences per chunk
|
27 |
OVERLAP = 1
|
28 |
|
29 |
+
app = FastAPI(title="Essay Analyzer", version="2.0.0")
|
30 |
|
31 |
# Environment setup
|
32 |
CACHE_DIR = "/tmp/huggingface"
|
|
|
198 |
@app.get("/")
|
199 |
async def root():
|
200 |
return {
|
201 |
+
"service": "Essay Analyzer",
|
202 |
"version": "2.0.0",
|
203 |
"documentation": {
|
204 |
"/analyze": "POST - Analyze PDF (AI detection + plagiarism check)",
|