Spaces:
Runtime error
Runtime error
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Fast API 🤗 Space served with Uvicorn</title> | |
| <link rel="stylesheet" href="/static/style.css" /> | |
| <script type="module" src="/static/script.js"></script> | |
| </head> | |
| <body> | |
| <main> | |
| <h1>Chat with your favorite website!</h1> | |
| <section id="text-gen"> | |
| <p>here you can create a vector storage from the url you provide.</p> | |
| <form class="text-gen-form"> | |
| <p>Here you will parse url and get list of docs</p> | |
| <label for="text-gen-input">the url of the website</label> | |
| <input id="text-gen-input" type="text" /> | |
| <button id="text-gen-submit">submit</button> | |
| <button id="download-embeddings" type="button">download docs</button> | |
| <p class="text-gen-output"></p> | |
| </form> | |
| <p>if you have docs, you can upload them instead.</p> | |
| <form class="text-gen-form"> | |
| <input type="file" id="file-input" style="display: none;" /> | |
| <button id="upload-embeddings" type="button">upload docs</button> | |
| </form> | |
| </section> | |
| <section id="chat"> | |
| <h2>Chat with the Model</h2> | |
| <div id="chat-box"></div> | |
| <form id="chat-form"> | |
| <textarea id="chat-input" placeholder="Type your message here..."></textarea> | |
| <button type="submit">Send</button> | |
| </form> | |
| </section> | |
| </main> | |
| </body> | |
| </html> |