Spaces:
Sleeping
Sleeping
Download frontend/src/index.js from danielle2035/Intel_classification: direct link, hf CLI and curl.
- Browser
- Download file 634 Bytes
-
https://huggingface.co/spaces/danielle2035/Intel_classification/resolve/main/frontend/src/index.js
- Command line
-
hf download hf://spaces/danielle2035/Intel_classification/frontend/src/index.js
-
curl -L -o index.js https://huggingface.co/spaces/danielle2035/Intel_classification/resolve/main/frontend/src/index.js
634 Bytes
| import React from 'react'; | |
| import ReactDOM from 'react-dom/client'; | |
| import './index.css'; | |
| import App from './App'; | |
| import {BrowserRouter} from "react-router-dom"; | |
| import axios from 'axios'; | |
| import {Provider} from 'react-redux' | |
| import { store } from './store'; | |
| axios.defaults.baseURL = process.env.REACT_APP_API_URL || "http://localhost:8081"; | |
| document.title = "Classification de Prunes"; | |
| const root = ReactDOM.createRoot(document.getElementById('root')); | |
| root.render( | |
| <React.StrictMode> | |
| <BrowserRouter> | |
| <Provider store={store} > | |
| <App /> | |
| </Provider> | |
| </BrowserRouter> | |
| </React.StrictMode> | |
| ); | |