runtime error
Traceback (most recent call last): File "app.py", line 5, in <module> import gradio as gr File "/home/user/.local/lib/python3.8/site-packages/gradio/__init__.py", line 3, in <module> import gradio.components as components File "/home/user/.local/lib/python3.8/site-packages/gradio/components.py", line 36, in <module> from gradio.blocks import Block File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 33, in <module> from gradio import ( File "/home/user/.local/lib/python3.8/site-packages/gradio/networking.py", line 14, in <module> import fastapi File "/home/user/.local/lib/python3.8/site-packages/fastapi/__init__.py", line 7, in <module> from .applications import FastAPI as FastAPI File "/home/user/.local/lib/python3.8/site-packages/fastapi/applications.py", line 16, in <module> from fastapi import routing File "/home/user/.local/lib/python3.8/site-packages/fastapi/routing.py", line 22, in <module> from fastapi import params File "/home/user/.local/lib/python3.8/site-packages/fastapi/params.py", line 8, in <module> from ._compat import PYDANTIC_V2, Undefined File "/home/user/.local/lib/python3.8/site-packages/fastapi/_compat.py", line 297, in <module> from pydantic.networks import ( # type: ignore[no-redef] ImportError: cannot import name 'MultiHostDsn' from 'pydantic.networks' (/home/user/.local/lib/python3.8/site-packages/pydantic/networks.cpython-38-x86_64-linux-gnu.so)
Container logs:
Fetching error logs...