adding MLX backend and example for stable diffusion 2.1

from https://github.com/ml-explore/mlx-examples
This commit is contained in:
Believethehype
2023-12-20 11:59:42 +01:00
parent 64710b4d1d
commit 15d3384dce
15 changed files with 1481 additions and 11 deletions

View File

@@ -300,10 +300,6 @@ def get_price_per_sat(currency):
def make_ln_address_nostdress(identifier, npub, pin, nostdressdomain):
# env_path = Path('.env')
# if env_path.is_file():
# dotenv.load_dotenv(env_path, verbose=True, override=True)
print(os.getenv("LNBITS_INVOICE_KEY_" + identifier.upper()))
data = {
'name': identifier,