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