Error on Gradio - TypeError: issubclass() arg 1 must be a class

Hi @neeewwww ! This is a bug that got fixed yesterday but the fix is not out on pypi. In the meantime, I suggest you remove type hints from the chat function in order to avoid getting the error.

1 Like