Skip to content

Commit

Permalink
Merge pull request #911 from Capsize-Games/devastator
Browse files Browse the repository at this point in the history
allow airunner to be installed and run from pypi
  • Loading branch information
w4ffl35 authored Oct 8, 2024
2 parents aa12261 + e55c53e commit 04e4e18
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="airunner",
version="3.0.5",
version="3.0.7",
author="Capsize LLC",
description="A Stable Diffusion GUI",
long_description=open("README.md", "r", encoding="utf-8").read(),
Expand Down Expand Up @@ -69,4 +69,9 @@
],
dependency_links=[
],
entry_points={
'console_scripts': [
'airunner=airunner.main:main',
],
},
)
6 changes: 5 additions & 1 deletion src/airunner/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,13 @@ def setup_database():
command.upgrade(alembic_cfg, "head")


if __name__ == "__main__":
def main():
setup_database()
App(
restrict_os_access=None,
defendatron=facehuggershield.huggingface.defendatron
)


if __name__ == "__main__":
main()

0 comments on commit 04e4e18

Please sign in to comment.