i run colab example code and open gradio public link and there i want use its api but during api acess i got some errors
`from gradio_client import Client
client = Client("https://06e4b0a0d6b43d93e4.gradio.live/")
result = client.predict(
"Howdy!", # str in 'Text prompt' Textbox component
fn_index=2
)
print(result)`
KeyError: "Could not find 'data' key in response. Response received: {'detail': [{'loc': ['body'], 'msg': 'value is not a valid dict', 'type': 'type_error.dict'}]}"`
can you help me so that i can download bvh file from api.
i run colab example code and open gradio public link and there i want use its api but during api acess i got some errors `from gradio_client import Client
client = Client("https://06e4b0a0d6b43d93e4.gradio.live/") result = client.predict( "Howdy!", # str in 'Text prompt' Textbox component fn_index=2 ) print(result)`
got error `Loaded as API: https://06e4b0a0d6b43d93e4.gradio.live/ ✔
KeyError Traceback (most recent call last) /usr/local/lib/python3.10/dist-packages/gradio_client/client.py in _predict(*data)
KeyError: 'data'
The above exception was the direct cause of the following exception:
KeyError Traceback (most recent call last) 7 frames /usr/local/lib/python3.10/dist-packages/gradio_client/client.py in _predict(*data)
KeyError: "Could not find 'data' key in response. Response received: {'detail': [{'loc': ['body'], 'msg': 'value is not a valid dict', 'type': 'type_error.dict'}]}"`
can you help me so that i can download bvh file from api.