lain on Nostr: The interop you can do between elixir and python is actually quite amazing, you can ...
The interop you can do between elixir and python is actually quite amazing, you can install an erlang message handler in python and then send messages back and forth as if it was an erlang process. So you can have a GenServer start up a python SD model loader, register a message handler, then send messages to python to use that model to actually generate images, then have python message it back once it's ready.
Published at
2023-10-29 10:44:30Event JSON
{
"id": "c370e784c1e0c70b0d3b425df33a9e3ca3f9bdf21e99e05cf04bde8e063bdff4",
"pubkey": "776ed1a547e2693a2c964e4824d6306a11aa364cd9c798f3e1ccd638af3d3725",
"created_at": 1698576270,
"kind": 1,
"tags": [
[
"proxy",
"https://lain.com/objects/b306fbba-92cc-4ead-b27f-276b8eec030e",
"activitypub"
]
],
"content": "The interop you can do between elixir and python is actually quite amazing, you can install an erlang message handler in python and then send messages back and forth as if it was an erlang process. So you can have a GenServer start up a python SD model loader, register a message handler, then send messages to python to use that model to actually generate images, then have python message it back once it's ready.",
"sig": "0f4899b9df45d3e0500e0b9a9a41678adef9b8e2ead504c731947bd84163940384288cadcee89cfc73b4cbd111582f39b5f94baac0231d47e462d185d8b8ad77"
}