Download Remotion-app/src/Root.jsx from azils3/Rectif: direct link, hf CLI and curl.
- Browser
- Download file 490 Bytes
-
https://huggingface.co/spaces/azils3/Rectif/resolve/main/Remotion-app/src/Root.jsx
- Command line
-
hf download hf://spaces/azils3/Rectif/Remotion-app/src/Root.jsx
-
curl -L -o Root.jsx https://huggingface.co/spaces/azils3/Rectif/resolve/main/Remotion-app/src/Root.jsx
490 Bytes
| import {Composition} from 'remotion'; | |
| import Constants from './HelloWorld/Assets/Constants.json'; | |
| import './index.css'; | |
| import HelloWorld from './HelloWorld'; | |
| export const RemotionRoot = () => { | |
| return ( | |
| <> | |
| <Composition | |
| id="HelloWorld" | |
| component={HelloWorld} | |
| durationInFrames={Constants?.duration ? Constants.duration : 60 * 30} | |
| fps={30} | |
| height={Constants?.height ? Constants.height : 1920} | |
| width={Constants?.width ? Constants.width : 1080} | |
| /> | |
| </> | |
| ); | |
| }; | |