miaoshouai / miaoshouai-assistant

MiaoshouAI Assistant for Automatic1111 Webui
Apache License 2.0
314 stars 25 forks source link

Installing in Forge conflict #76

Open HikiWaltz opened 3 months ago

HikiWaltz commented 3 months ago

When installing miaoshouai in forge, it installs langchain 0.0.132. It requires pydantic<2,>=1... Installing pydantic < 2 breaks gradio: File "I:\Forge\system\python\lib\site-packages\gradio\components\annotated_image.py", line 10, in <module> from gradio_client import handle_file ImportError: cannot import name 'handle_file' from 'gradio_client' (I:\Forge\system\python\lib\site-packages\gradio_client\__init__.py) Reinstalling gradio don't work either.

image image

Can someone give me a hand in making it load or at least make Forge work again? Deleting the miaoshouai folder and reinstalling dependencies for forge didn't work.

BigBoss925 commented 3 months ago

The same problem 😭, i tried everything, but nothing worked, guess i have to use old forge

miaoshouai commented 3 months ago

When installing miaoshouai in forge, it installs langchain 0.0.132. It requires pydantic<2,>=1... Installing pydantic < 2 breaks gradio: File "I:\Forge\system\python\lib\site-packages\gradio\components\annotated_image.py", line 10, in <module> from gradio_client import handle_file ImportError: cannot import name 'handle_file' from 'gradio_client' (I:\Forge\system\python\lib\site-packages\gradio_client\__init__.py) Reinstalling gradio don't work either.

image image

Can someone give me a hand in making it load or at least make Forge work again? Deleting the miaoshouai folder and reinstalling dependencies for forge didn't work.

https://github.com/miaoshouai/miaoshouai-assistant-forge use this extention for forge. new forge updated to gadio 4, a lot of rewriting is needed.