Spaces:
Sleeping
Sleeping
Download templates/chat.html from vioott/BookMatchAI-Python-GeminiAPI: direct link, hf CLI and curl.
- Browser
- Download file 990 Bytes
-
https://huggingface.co/spaces/vioott/BookMatchAI-Python-GeminiAPI/resolve/469fa34be39d62bc989aef4e9d2be5f43f273c2f/templates/chat.html
- Command line
-
hf download hf://spaces/vioott/BookMatchAI-Python-GeminiAPI@469fa34be39d62bc989aef4e9d2be5f43f273c2f/templates/chat.html
-
curl -L -o chat.html https://huggingface.co/spaces/vioott/BookMatchAI-Python-GeminiAPI/resolve/469fa34be39d62bc989aef4e9d2be5f43f273c2f/templates/chat.html
990 Bytes
| <html> | |
| <head> | |
| <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}"> | |
| <title>Chat com IA</title> | |
| </head> | |
| <body> | |
| <div class="chat-container"> | |
| <div class="chat-box"> | |
| <form method="post"> | |
| <h1>Chat com a IA</h1> | |
| <p class="info-modelo"> (Você está conversando com um modelo gemini-1.5-flash)</p> | |
| <p>Oi, {{ history.name }}, espero que esteja tendo um ótimo dia!<br> | |
| Eu sei tudo sobre livros e estou aqui para te ajudar.<br> | |
| O que você deseja saber?</p> | |
| <input type="text" id="question" name="question" required> | |
| <button type="submit">Enviar</button> | |
| </form> | |
| </div> | |
| {% if response %} | |
| <div class="response-box"> | |
| <h3>Resposta:</h3> | |
| <p class="resposta-formatada">{{ response | safe }}</p> | |
| </div> | |
| {% endif %} | |
| </div> | |
| </body> | |
| </html> | |