Mbonea commited on
Commit
b9233a6
1 Parent(s): 918e3f1

install_dependencies(temp_dir)

Browse files
Files changed (2) hide show
  1. App/Worker.py +2 -2
  2. Remotion-app/package.json +1 -1
App/Worker.py CHANGED
@@ -219,8 +219,8 @@ async def celery_task(video_task: EditorRequest):
219
 
220
  # # use the cached stuff
221
  # if not SERVER_STATE.CACHED:
222
- # install_dependencies(temp_dir)
223
-
224
  create_constants_json_file(video_task.constants, assets_dir)
225
  create_json_file(video_task.assets, assets_dir)
226
  download_assets(video_task.links, temp_dir)
 
219
 
220
  # # use the cached stuff
221
  # if not SERVER_STATE.CACHED:
222
+ #
223
+ install_dependencies(temp_dir)
224
  create_constants_json_file(video_task.constants, assets_dir)
225
  create_json_file(video_task.assets, assets_dir)
226
  download_assets(video_task.links, temp_dir)
Remotion-app/package.json CHANGED
@@ -4,7 +4,7 @@
4
  "description": "My Remotion video",
5
  "scripts": {
6
  "start": "remotion studio",
7
- "build": "node --max-old-space-size=8192 ./node_modules/.bin/remotion render HelloWorld out/video.mp4",
8
  "upgrade": "remotion upgrade",
9
  "test": "eslint src --ext ts,tsx,js,jsx"
10
  },
 
4
  "description": "My Remotion video",
5
  "scripts": {
6
  "start": "remotion studio",
7
+ "build": "remotion render HelloWorld out/video.mp4",
8
  "upgrade": "remotion upgrade",
9
  "test": "eslint src --ext ts,tsx,js,jsx"
10
  },