adding nip98, nostr.build account, convert tts to mp3 before upload

This commit is contained in:
Believethehype
2024-06-28 00:01:45 +02:00
parent 62cb455528
commit b8ebdddcb3
15 changed files with 81 additions and 22 deletions

View File

@@ -136,7 +136,7 @@ class ImageGenerationMLX(DVMTaskInterface):
# Save them to disc
image = Image.fromarray(x.__array__())
image.save("./outputs/image.jpg")
result = upload_media_to_hoster("./outputs/image.jpg")
result = await upload_media_to_hoster("./outputs/image.jpg")
return result
except Exception as e: