EricGuo5513 / momask-codes

Official implementation of "MoMask: Generative Masked Modeling of 3D Human Motions (CVPR2024)"
https://ericguo5513.github.io/momask/
MIT License
691 stars 56 forks source link

Api usage errors. #7

Closed haziqsumaid closed 6 months ago

haziqsumaid commented 6 months ago

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'}]}"`

Screenshot 2024-01-04 at 2 20 04 PM Screenshot 2024-01-04 at 2 20 27 PM Screenshot 2024-01-04 at 2 20 48 PM Screenshot 2024-01-04 at 2 21 03 PM

can you help me so that i can download bvh file from api.

haziqsumaid commented 6 months ago

i think its not related this repo becuase there is no Web ui app.py in this repo sorry my bad:)