Spaces:
Sleeping
Sleeping
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Question Answering</title> | |
| </head> | |
| <body> | |
| <h1>Intelligent Question Answering</h1> | |
| <form id="qaForm"> | |
| <label for="file">Upload Document (PDF, DOCX, XLSX, PPTX) or Image:</label> | |
| <input type="file" id="file" name="file" accept=".pdf,.docx,.xlsx,.pptx,.png,.jpg,.jpeg" required> | |
| <label for="question">Question:</label> | |
| <input type="text" id="question" name="question" required> | |
| <button type="submit">Ask</button> | |
| </form> | |
| <div id="answer"></div> | |
| <script src="/static/script.js"></script> | |
| </body> | |
| </html> |