Compare commits
No commits in common. "4a0136c9a3be7ea82264f96c97c1466f73388fcc" and "d85637afcb76a9aed34fa1cf9408ae1af1fb0dab" have entirely different histories.
4a0136c9a3
...
d85637afcb
@ -1 +0,0 @@
|
|||||||
UPLOAD_ONLY=1 # Enable upload only for the instance
|
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,3 @@
|
|||||||
__pycache__
|
__pycache__
|
||||||
upload
|
upload
|
||||||
env
|
env
|
||||||
.env
|
|
||||||
|
2
main.py
2
main.py
@ -11,7 +11,7 @@ from pydantic_settings import BaseSettings, SettingsConfigDict
|
|||||||
|
|
||||||
# Settings
|
# Settings
|
||||||
class Settings(BaseSettings):
|
class Settings(BaseSettings):
|
||||||
upload_only: bool = False
|
upload_only: bool = True
|
||||||
|
|
||||||
model_config = SettingsConfigDict(env_file=".env")
|
model_config = SettingsConfigDict(env_file=".env")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user