Dos it work outside of the loop also with one vaule?
Eg add
Test like this.
Eg add
print(cell_value)
on line 18.Test like this.
import subprocess cell_vaule = "A dog in space" command = ['C:\\Users\\irave\\AppData\\Local\\Discord\\app-1.0.9013\\Discord.exe', '/imagine', ' ' + str(cell_value)] process = subprocess.Popen(command, stdin=subprocess.PIPE) process.communicate()Or with
run()
import subprocess cell_vaule = "A dog in space" command = ['C:\\Users\\irave\\AppData\\Local\\Discord\\app-1.0.9013\\Discord.exe', '/imagine', ' ' + str(cell_value)] out = subprocess.run(command , capture_output=True) print(out.stdout.decode())I use Midjourney and it return a Image format .png,do you have command from
command line
that work and give you raw .png format back?