defaults
Browse files- App/Editor/Schema.py +4 -4
- App/Generate/generatorRoutes.py +1 -1
App/Editor/Schema.py
CHANGED
@@ -9,13 +9,13 @@ class LinkInfo(BaseModel):
|
|
9 |
|
10 |
|
11 |
class Constants(BaseModel):
|
12 |
-
task: Optional[str]
|
13 |
-
chunk: Optional[int]
|
14 |
duration: Optional[int]
|
15 |
height: Optional[int]
|
16 |
width: Optional[int]
|
17 |
-
text: Optional[dict]
|
18 |
-
frames: Optional[dict]
|
19 |
instructions: Optional[bool] = False
|
20 |
|
21 |
|
|
|
9 |
|
10 |
|
11 |
class Constants(BaseModel):
|
12 |
+
task: Optional[str] = ""
|
13 |
+
chunk: Optional[int] = 0
|
14 |
duration: Optional[int]
|
15 |
height: Optional[int]
|
16 |
width: Optional[int]
|
17 |
+
text: Optional[dict] = {}
|
18 |
+
frames: Optional[dict] = {}
|
19 |
instructions: Optional[bool] = False
|
20 |
|
21 |
|
App/Generate/generatorRoutes.py
CHANGED
@@ -50,7 +50,7 @@ async def main(request: GeneratorRequest):
|
|
50 |
|
51 |
temp = await x.generate_json()
|
52 |
print(temp)
|
53 |
-
|
54 |
|
55 |
|
56 |
generator_router = APIRouter(tags=["video-Generator"])
|
|
|
50 |
|
51 |
temp = await x.generate_json()
|
52 |
print(temp)
|
53 |
+
await renderr.render_video(temp)
|
54 |
|
55 |
|
56 |
generator_router = APIRouter(tags=["video-Generator"])
|