Skip to content

Commit

Permalink
Updated FastAPI name and description
Browse files Browse the repository at this point in the history
  • Loading branch information
Dicklesworthstone committed Sep 26, 2023
1 parent 7bee98b commit e025320
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion swiss_army_llama.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ def rotator(source, dest):
logger.info(f"USE_RAMDISK is set to: {USE_RAMDISK}")
db_writer = None

app = FastAPI(docs_url="/") # Set the Swagger UI to root
description_string = """
🇨🇭🎖️🦙 Swiss Army Llama is your One-Stop-Shop to Quickly and Conveniently Integrate Powerful Local LLM Functionality into your Project via a REST API.
"""
app = FastAPI(title="Swiss Army Llama", description=description_string, docs_url="/") # Set the Swagger UI to root
engine = create_async_engine(DATABASE_URL, echo=False, connect_args={"check_same_thread": False})
AsyncSessionLocal = sessionmaker(
bind=engine,
Expand Down

0 comments on commit e025320

Please sign in to comment.