Spaces:
Sleeping
Sleeping
Create GenerateResponse.py
Browse files
data_class/GenerateResponse.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from pydantic import BaseModel
|
2 |
+
from typing import Optional
|
3 |
+
|
4 |
+
class GenerateResponse(BaseModel):
|
5 |
+
video_url: str
|
6 |
+
gif_url: Optional[str] = None
|
7 |
+
seed: int
|