fix(index path):

This commit is contained in:
Alexander Myasoedov committed 2024-04-13 18:20:00 +03:00
1 parent 15106c1c23
commit 8b32d40b9f
2 files changed
+5 -3

No files matched your search

+2 -1
View File
@@ -41,7 +41,8 @@ app.add_middleware(
@app.get("/") @app.get("/")
async def root(): async def root():
return FileResponse("langalf/static/index.html") langalf_path = Path(__file__).parent
return FileResponse(f"{langalf_path}/static/index.html")
class LLMInfo(BaseModel): class LLMInfo(BaseModel):
+3 -2
View File
@@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "langalf" name = "langalf"
version = "0.0.1" version = "0.0.2"
description = "Agentic LLM vulnerability scanner" description = "Agentic LLM vulnerability scanner"
authors = ["Alexander Miasoiedov <msoedov@gmail.com>"] authors = ["Alexander Miasoiedov <msoedov@gmail.com>"]
maintainers = ["Alexander Miasoiedov <msoedov@gmail.com>"] maintainers = ["Alexander Miasoiedov <msoedov@gmail.com>"]
@@ -10,12 +10,13 @@ readme = "Readme.md"
keywords = [ keywords = [
"LLM vulnerability scanner", "LLM vulnerability scanner",
"llm security", "llm security",
"adversarial attacks", "llm adversarial attacks",
"prompt injection", "prompt injection",
"prompt leakage", "prompt leakage",
"prompt injection attacks", "prompt injection attacks",
"prompt leakage prevention", "prompt leakage prevention",
"llm vulnerabilities", "llm vulnerabilities",
"owasp-llm-top-10",
] ]
packages = [{ include = "langalf", from = "." }] packages = [{ include = "langalf", from = "." }]