scratch-gui / src /playground /render-gui.jsx
soiz1's picture
Upload folder using huggingface_hub
8fd7a1d verified
raw
history blame contribute delete
490 Bytes
import React from 'react';
import GUI from '../containers/gui.jsx';
const searchParams = new URLSearchParams(location.search);
const cloudHost = searchParams.get('cloud_host') || 'wss://clouddata.turbowarp.org';
const RenderGUI = props => (
<GUI
cloudHost={cloudHost}
canUseCloud
hasCloudPermission
canSave={false}
basePath={process.env.ROOT}
canEditTitle
enableCommunity
{...props}
/>
);
export default RenderGUI;