mirror of
https://github.com/brycedrennan/imaginAIry
synced 2024-10-31 03:20:40 +00:00
316114e660
Wrote an openai script and custom prompt to generate them.
11 lines
232 B
Python
11 lines
232 B
Python
"""Function for retrieving package version"""
|
|
|
|
|
|
def get_version():
|
|
from importlib.metadata import PackageNotFoundError, version
|
|
|
|
try:
|
|
return version("imaginairy")
|
|
except PackageNotFoundError:
|
|
return None
|