mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-23 01:48:32 +01:00
added missing async func def for ollama and unleashed examples
This commit is contained in:
@@ -61,7 +61,7 @@ async def nostr_client():
|
||||
|
||||
#nostr_client_test_image_private("a beautiful ostrich watching the sunset")
|
||||
class NotificationHandler(HandleNotification):
|
||||
def handle(self, relay_url, subscription_id, event: Event):
|
||||
async def handle(self, relay_url, subscription_id, event: Event):
|
||||
print(f"Received new event from {relay_url}: {event.as_json()}")
|
||||
if event.kind() == 7000:
|
||||
print("[Nostr Client]: " + event.as_json())
|
||||
|
||||
Reference in New Issue
Block a user