lnd212 238bf88b72 BIG UPDATE
Updated python to 3.10
Updated diffusers to 0.4.1
2022-10-09 17:27:10 +04:00

12 lines
276 B
Python

import os
if __name__ == '__main__':
while True:
buf = os.read(0, 1024)
if not buf:
break
try:
os.write(1, b'OUT:'+buf)
except OSError as ex:
os.write(2, b'ERR:' + ex.__class__.__name__.encode('ascii'))