Mbonea commited on
Commit
6a3ec6f
1 Parent(s): 962de23
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
- # await renderr.render_video(temp)
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"])