soiz1's picture
Upload folder using huggingface_hub
b18238f verified
/**
* Copyright (C) 2021 Thomas Weber
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import 'core-js';
import 'regenerator-runtime/runtime';
import './import-first';
import ReactDOM from 'react-dom';
import React from 'react';
import {setAppElement} from 'react-modal';
import Interface from './render-interface.jsx';
import appTarget from './app-target';
setAppElement(appTarget);
ReactDOM.render(<Interface
isPlayerOnly
isFullScreen
/>, appTarget);