Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS ? #9

Open
johann-taberlet opened this issue Nov 8, 2022 · 1 comment
Open

MacOS ? #9

johann-taberlet opened this issue Nov 8, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@johann-taberlet
Copy link

Hi, really excited to have a try on this in Photoshop but I'm on a mac m1.
I installed the plugin via Creative Cloud, the docker plugin is displayed in Photoshop but is empty :/
Is it even possible to make it works on a mac ?

@remixer-dec
Copy link

remixer-dec commented Nov 10, 2022

After some debugging, I got it working. For some reason even after adding localhost.tech to /etc/hosts, it still refuses to connect with Failed to connect or resolve host

All you need to do is:

  1. manually install it (or check if it is installed in your plugins directory)
  2. edit Main.js (replace all localhost.tech with localhost)
  3. edit manifest.json, change domains array to a string, so it looks like this: "domains": "all"
  4. start webui server

if you get an error like File ".../site-packages/gradio/components.py", line 495, in _round_to_precision return int(round(num, precision)) TypeError: type str doesn't define __round__ method edit that file and wrap num with float(num)
Even though it is better to fix typing somewhere in a plug-in and not on a system level, for now, it works.

Edit: only txt2img seems to be working, img2img gets "TypeError: Cannot read properties of null (reading 'hxBytes')" caused by getter4

@internationalTD internationalTD added the bug Something isn't working label Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants