Spaces:
Runtime error
Runtime error
Download data_class/GenerateResponse.py from neuralleap/CogVideoX-5B-API-V2: direct link, hf CLI and curl.
- Browser
- Download file 161 Bytes
-
https://huggingface.co/spaces/neuralleap/CogVideoX-5B-API-V2/resolve/main/data_class/GenerateResponse.py
- Command line
-
hf download hf://spaces/neuralleap/CogVideoX-5B-API-V2/data_class/GenerateResponse.py
-
curl -L -o GenerateResponse.py https://huggingface.co/spaces/neuralleap/CogVideoX-5B-API-V2/resolve/main/data_class/GenerateResponse.py
161 Bytes
| from pydantic import BaseModel | |
| from typing import Optional | |
| class GenerateResponse(BaseModel): | |
| video_url: str | |
| gif_url: Optional[str] = None | |
| seed: int |