mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2025-01-08 11:57:36 +08:00
fix pypi helper for correct pypi updating
This commit is contained in:
parent
2dd59d31d0
commit
f1fcc3fb74
@ -2,11 +2,10 @@
|
||||
|
||||
import requests
|
||||
|
||||
from ldm.invoke import __app_name__, __version__
|
||||
from invokeai.version import __version__
|
||||
|
||||
local_version = str(__version__).replace("-", "")
|
||||
package_name = str(__app_name__)
|
||||
|
||||
package_name = 'InvokeAI'
|
||||
|
||||
def get_pypi_versions(package_name=package_name) -> list[str]:
|
||||
"""Get the versions of the package from PyPI"""
|
||||
|
Loading…
Reference in New Issue
Block a user