Traceback (most recent call last):
File "D:\Project\r.py", line 14, in
asyncio.run(main())
~~~~~~~~~~~^^^^^^^^
File "D:\Python\Lib\asyncio\runners.py", line 195, in run
return runner.run(main)
~~~~~~~~~~^^^^^^
File "D:\Python\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "D:\Python\Lib\asyncio\base_events.py", line 725, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "D:\Project\r.py", line 9, in main
result = await gen.image(prompt, shape='landscape')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python\Lib\site-packages\perchance\imagegenerator.py", line 179, in image
raise errors.AuthenticationError("Failed to retrieve user key")
perchance.errors.AuthenticationError: Failed to retrieve user key
Traceback (most recent call last):
File "D:\Project\r.py", line 14, in
asyncio.run(main())
~~~~~~~~~~~^^^^^^^^
File "D:\Python\Lib\asyncio\runners.py", line 195, in run
return runner.run(main)
~~~~~~~~~~^^^^^^
File "D:\Python\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "D:\Python\Lib\asyncio\base_events.py", line 725, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "D:\Project\r.py", line 9, in main
result = await gen.image(prompt, shape='landscape')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python\Lib\site-packages\perchance\imagegenerator.py", line 179, in image
raise errors.AuthenticationError("Failed to retrieve user key")
perchance.errors.AuthenticationError: Failed to retrieve user key