Spaces:
Running
Running
Download chat.html from diego1carmo/workspaceia2: direct link, hf CLI and curl.
- Browser
- Download file 4.32 kB
-
https://huggingface.co/spaces/diego1carmo/workspaceia2/resolve/main/chat.html
- Command line
-
hf download hf://spaces/diego1carmo/workspaceia2/chat.html
-
curl -L -o chat.html https://huggingface.co/spaces/diego1carmo/workspaceia2/resolve/main/chat.html
4.32 kB
| <html lang="pt-br"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Chat | AI Workspace</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: '#4361ee', | |
| secondary: '#3f37c9', | |
| accent: '#4895ef', | |
| dark: '#1d3557', | |
| light: '#f8f9fa' | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| background-color: #f5f7fb; | |
| } | |
| .sidebar { | |
| transition: all 0.3s ease; | |
| } | |
| .chat-container { | |
| height: calc(100vh - 200px); | |
| } | |
| .message { | |
| transition: all 0.2s ease; | |
| } | |
| .dark body { | |
| background-color: #0f172a; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div class="flex h-screen"> | |
| <!-- Sidebar (same as index.html) --> | |
| <div class="sidebar w-64 bg-white shadow-lg flex flex-col"> | |
| <!-- Sidebar content from index.html --> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="flex-1 flex flex-col overflow-hidden"> | |
| <!-- Top Bar (same as index.html) --> | |
| <header class="bg-white shadow-sm"> | |
| <!-- Header content from index.html --> | |
| </header> | |
| <!-- Chat Content --> | |
| <main class="flex-1 overflow-y-auto p-6"> | |
| <div class="mb-6"> | |
| <h1 class="text-2xl font-bold text-gray-800">Chat AI</h1> | |
| <p class="text-gray-600">Converse com nossos assistentes de inteligência artificial.</p> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-sm p-6"> | |
| <div class="chat-container overflow-y-auto mb-6 max-h-[70vh]"> | |
| <!-- Chat messages will go here --> | |
| <div class="space-y-4"> | |
| <div class="flex items-start space-x-3"> | |
| <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center"> | |
| <i class="fas fa-user text-blue-600"></i> | |
| </div> | |
| <div class="bg-gray-100 rounded-lg p-4 max-w-3xl"> | |
| <p class="text-gray-800">Olá, como posso te ajudar hoje?</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start space-x-3 justify-end"> | |
| <div class="bg-primary text-white rounded-lg p-4 max-w-3xl"> | |
| <p>Preciso de ajuda com análise de dados.</p> | |
| </div> | |
| <div class="w-10 h-10 rounded-full bg-gray-200 flex items-center justify-center"> | |
| <i class="fas fa-user text-gray-600"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="relative"> | |
| <textarea class="w-full border rounded-lg p-4 pr-12 focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent" rows="3" placeholder="Digite sua mensagem..."></textarea> | |
| <button class="absolute right-4 bottom-4 bg-primary text-white p-2 rounded-lg"> | |
| <i class="fas fa-paper-plane"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <script> | |
| // Same theme toggle and sidebar functionality as index.html | |
| </script> | |
| </body> | |
| </html> |