Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>CTM Research Agent</title> | |
| <link rel="stylesheet" href="style.css"> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <header> | |
| <h1>CTM Research Agent</h1> | |
| <p>Your AI-powered assistant for in-depth research and analysis.</p> | |
| </header> | |
| <main> | |
| <div class="input-section"> | |
| <h2>Submit Your Research Query</h2> | |
| <textarea id="researchQuery" placeholder="Ask a general research question..."></textarea> | |
| <button id="submitButton">Submit</button> | |
| </div> | |
| <div class="output-section"> | |
| <h2>Results</h2> | |
| <div id="resultDisplay" class="result-container"></div> | |
| </div> | |
| <div class="reports-section"> | |
| <h2>Available Research Reports</h2> | |
| <div id="reportsList" class="reports-container"></div> | |
| </div> | |
| <div class="history-section"> | |
| <h2>Recent Research</h2> | |
| <div id="historyContainer" class="history-container"></div> | |
| </div> | |
| <div class="upload-section"> | |
| <h2>Upload a Report to Storage</h2> | |
| <form id="uploadForm"> | |
| <input type="file" id="fileInput" accept=".txt" required> | |
| <button type="submit">Upload File</button> | |
| </form> | |
| <div id="uploadStatus"></div> | |
| </div> | |
| </main> | |
| <footer> | |
| <p>© 2025 CTM Research</p> | |
| </footer> | |
| </div> | |
| <script src="script.js"></script> | |
| </body> | |
| </html> |