-
Notifications
You must be signed in to change notification settings - Fork 86
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
Colab seems not working #31
Comments
I ran into the same error, have you been able to find a away around it yet? |
I also had such a problem. The accelerate update helped me: pip install --upgrade accelerate |
Can someone help me by telling me how to run API i got 200 response but i dont know how to get images API endpointapi_url = "https://new-rings-yawn.loca.lt" Prompt variableprompt_text = "blue elephant" Parameters to be sent with the requestparams = { } Make a GET request with parametersresponse = requests.get(api_url, params=params) Check if the request was successful (status code 200)if response.status_code == 200: C:\Users\HP\Desktop>python -u "c:\Users\HP\Desktop\api.py" |
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "/usr/local/lib/python3.10/dist-packages/diffuzers/Home.py", line 7, in
from diffuzers.x2image import X2Image
File "/usr/local/lib/python3.10/dist-packages/diffuzers/x2image.py", line 14, in
from diffusers import (
File "", line 1075, in _handle_fromlist
File "/usr/local/lib/python3.10/dist-packages/diffusers/utils/import_utils.py", line 675, in getattr
value = getattr(module, name)
File "/usr/local/lib/python3.10/dist-packages/diffusers/utils/import_utils.py", line 675, in getattr
value = getattr(module, name)
File "/usr/local/lib/python3.10/dist-packages/diffusers/utils/import_utils.py", line 674, in getattr
module = self._get_module(self._class_to_module[name])
File "/usr/local/lib/python3.10/dist-packages/diffusers/utils/import_utils.py", line 686, in _get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.pipelines.alt_diffusion.pipeline_alt_diffusion_img2img because of the following error (look up to see its traceback):
cannot import name 'CpuOffload' from 'accelerate.hooks' (/usr/local/lib/python3.10/dist-packages/accelerate/hooks.py)
The text was updated successfully, but these errors were encountered: