mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 13:55:41 +01:00
Working refactor. Dependency clean-up pending.
This commit is contained in:
parent
12f3a39e8a
commit
d0a7d991a2
20 changed files with 877 additions and 907 deletions
|
|
@ -1,11 +1,6 @@
|
|||
"""FastAPI app creation, logger configuration and main API routes."""
|
||||
|
||||
import llama_index
|
||||
|
||||
from private_gpt.di import global_injector
|
||||
from private_gpt.launcher import create_app
|
||||
|
||||
# Add LlamaIndex simple observability
|
||||
llama_index.set_global_handler("simple")
|
||||
|
||||
app = create_app(global_injector)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue