The conflict is caused by:
fastapi 0.95.1 depends on pydantic!=1.7, !=1.7.1, !=1.7.2, !=1.7.3, !=1.8, !=1.8.1, <2.0.0 and >=1.6.2
gradio 4.16.0 depends on pydantic>=2.0
How to fix this? tried it all. venv, conda, played with dependencies, wasn't able to make it work even if it got installed. got the events = false