from gradio_client import Client client = Client("wiklif/mixtral-api") result = client.predict( prompt="Jak masz na imiÄ™?", api_name="/chat" ) print(result)