fixes?
Browse files
App/Generate/database/Model.py
CHANGED
@@ -130,6 +130,8 @@ class Project(orm.Model):
|
|
130 |
"props": {
|
131 |
"volume": 0,
|
132 |
"loop": "true",
|
|
|
|
|
133 |
"style": {
|
134 |
"transform": "translate(-50%, -50%)",
|
135 |
"position": "absolute",
|
|
|
130 |
"props": {
|
131 |
"volume": 0,
|
132 |
"loop": "true",
|
133 |
+
"startFrom": 1 * 30,
|
134 |
+
"endAt": 3 * 30,
|
135 |
"style": {
|
136 |
"transform": "translate(-50%, -50%)",
|
137 |
"position": "absolute",
|
App/Generate/generatorRoutes.py
CHANGED
@@ -69,7 +69,7 @@ async def generate_assets(generated_story: Story, batch_size=4, threeD=True):
|
|
69 |
nested_images.append(scene.images)
|
70 |
|
71 |
results = await vid_gen.run(nested_image_links=nested_images)
|
72 |
-
|
73 |
for result, _scene in zip(results, all_scenes):
|
74 |
_scene.images = result
|
75 |
await _scene.update(**_scene.__dict__)
|
|
|
69 |
nested_images.append(scene.images)
|
70 |
|
71 |
results = await vid_gen.run(nested_image_links=nested_images)
|
72 |
+
print(results)
|
73 |
for result, _scene in zip(results, all_scenes):
|
74 |
_scene.images = result
|
75 |
await _scene.update(**_scene.__dict__)
|