webui initialized
This commit is contained in:
Binary file not shown.
6
main.py
6
main.py
@ -58,5 +58,11 @@ async def search(category: str = Form(...), query: str = Form(...)):
|
||||
print(query)
|
||||
|
||||
|
||||
@app.get("/login")
|
||||
async def login() -> bool:
|
||||
print("Let us check, if you are already logged in... ", end="")
|
||||
return {}
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
uvicorn.run("main:app", host="0.0.0.0", port=8000, reload=True)
|
||||
|
Reference in New Issue
Block a user