Closed Squibeel closed 6 months ago
@Squibeel , I had the same issue. I tried different release versions of this project, both on Windows and WSL Ubuntu, all generating the same error when I tried to load images. I googled the error about pydantic and found this issue related to gradio and a recent pydantic update.
The solution that worked for me was to update my gradio by changing the version in the requirements.txt and reinstall, e.g.:
gradio>=3.36.1
You could also just do a pip install gradio --upgrade
within your venv to get the latest version (3.36.1 at the time of writing), but I chose to do a clean install to make sure it worked.
@Squibeel , I had the same issue. I tried different release versions of this project, both on Windows and WSL Ubuntu, all generating the same error when I tried to load images. I googled the error about pydantic and found this issue related to gradio and a recent pydantic update.
The solution that worked for me was to update my gradio by changing the version in the requirements.txt and reinstall, e.g.:
gradio>=3.36.1
You could also just do a
pip install gradio --upgrade
within your venv to get the latest version (3.36.1 at the time of writing), but I chose to do a clean install to make sure it worked.
This worked, thanks!
I've updated gradio to 4.28.3 in >= ver0.0.6. Version related issue may be solved. I'm grad if you can check it.
Can't use the standalone version, gives me an error right after pressing "Load"