More debug logs
Browse files
main.py
CHANGED
|
@@ -15,6 +15,7 @@ def cached_check_text(text: str):
|
|
| 15 |
|
| 16 |
@app.get("/check", response_model=CheckResponse)
|
| 17 |
def check(text: str):
|
|
|
|
| 18 |
return CheckResponse(text=text, words=cached_check_text(text))
|
| 19 |
|
| 20 |
app.mount("/", StaticFiles(directory="frontend/public", html=True))
|
|
|
|
| 15 |
|
| 16 |
@app.get("/check", response_model=CheckResponse)
|
| 17 |
def check(text: str):
|
| 18 |
+
print(f"Checking text: {text}")
|
| 19 |
return CheckResponse(text=text, words=cached_check_text(text))
|
| 20 |
|
| 21 |
app.mount("/", StaticFiles(directory="frontend/public", html=True))
|