Spaces:
Build error
Build error
Download frontend/src/App.js from sp103107/agent-system: direct link, hf CLI and curl.
- Browser
- Download file 875 Bytes
-
https://huggingface.co/spaces/sp103107/agent-system/resolve/main/frontend/src/App.js
- Command line
-
hf download hf://spaces/sp103107/agent-system/frontend/src/App.js
-
curl -L -o App.js https://huggingface.co/spaces/sp103107/agent-system/resolve/main/frontend/src/App.js
875 Bytes
| import React from 'react'; | |
| import FileDropZone from './components/FileDropZone'; | |
| import TextRequest from './components/TextRequest'; | |
| function App() { | |
| return ( | |
| <div className="App"> | |
| <h1>Agent System Interface</h1> | |
| <div className="request-methods"> | |
| <div className="method-section"> | |
| <h2>Text Request</h2> | |
| <TextRequest /> | |
| </div> | |
| <div className="method-section"> | |
| <h2>File Upload</h2> | |
| <FileDropZone /> | |
| </div> | |
| </div> | |
| <style jsx>{` | |
| .App { | |
| padding: 20px; | |
| } | |
| .request-methods { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 30px; | |
| } | |
| .method-section { | |
| padding: 20px; | |
| border: 1px solid #ddd; | |
| border-radius: 8px; | |
| } | |
| `}</style> | |
| </div> | |
| ); | |
| } | |
| export default App; |