Spaces:
Runtime error
Runtime error
Commit
·
5b9289f
1
Parent(s):
4a3b971
ai detector
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import os
|
|
| 2 |
from fastapi import FastAPI, Header, HTTPException, Depends
|
| 3 |
from pydantic import BaseModel
|
| 4 |
from text_humanizer import TextHumanizer, download_nltk_resources
|
| 5 |
-
from
|
| 6 |
import spacy
|
| 7 |
|
| 8 |
API_KEY = os.environ.get("API_KEY", "dev-key")
|
|
|
|
| 2 |
from fastapi import FastAPI, Header, HTTPException, Depends
|
| 3 |
from pydantic import BaseModel
|
| 4 |
from text_humanizer import TextHumanizer, download_nltk_resources
|
| 5 |
+
from text_detector import AITextDetector
|
| 6 |
import spacy
|
| 7 |
|
| 8 |
API_KEY = os.environ.get("API_KEY", "dev-key")
|