Skip to content

Commit

Permalink
Feat/collaboration (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-Shen authored Feb 17, 2025
1 parent 2734618 commit 35e8858
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions labelu/internal/common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ class Settings(BaseSettings):
THUMBNAIL_HEIGH_PIXEL: int = 120

DATABASE_URL: str = Field(
default="mysql://labelu:labelupass@localhost/labeludb",
# default=f"sqlite:///{BASE_DATA_DIR}/labelu.sqlite",
# default="mysql://labelu:labelupass@localhost/labeludb",
default=f"sqlite:///{BASE_DATA_DIR}/labelu.sqlite",
description="Database connection URL. Supports SQLite and MySQL."
)
# or using DATABASE_URL=mysql://labelu:[email protected]/labeludb
Expand Down
3 changes: 0 additions & 3 deletions labelu/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@

from .version import version as labelu_version

from .version import version as labelu_version


description = """
labelU backend.
Expand Down

0 comments on commit 35e8858

Please sign in to comment.