Abmacode12 commited on
Commit
1d67543
·
verified ·
1 Parent(s): 2133779

Aucune clé API n’est requise.

Browse files

Veuillez démarrer votre instance locale pour activer l’intelligence artificielle

Files changed (2) hide show
  1. index.html +17 -12
  2. style.css +4 -0
index.html CHANGED
@@ -144,19 +144,24 @@
144
  id="previewBox"
145
  class="flex-1 p-4 overflow-y-auto text-gray-300"
146
  >
147
- <div class="flex items-center justify-center h-full text-gray-500">
148
- <div class="text-center">
149
- <i data-feather="code" class="w-8 h-8 mx-auto mb-2"></i>
150
- <p>Aucun rendu disponible</p>
151
- </div>
152
- <div class="ai-warning ui">
153
- Ollama nécessite une instance locale active pour fonctionner.
154
- </div>
155
- <div class="ai-warning product">
156
- <strong>Ollama fonctionne en local.</strong><br>
157
- Aucune clé API n’est requise.<br>
158
- Veuillez démarrer votre instance locale pour activer l'IA.
159
  </div>
 
 
 
 
 
 
 
160
  </div>
161
  </div>
162
  </aside>
 
144
  id="previewBox"
145
  class="flex-1 p-4 overflow-y-auto text-gray-300"
146
  >
147
+ <div class="flex flex-col items-center justify-center h-full text-gray-400 p-4 text-center">
148
+ <i data-feather="cpu" class="w-12 h-12 mb-4 text-blue-400"></i>
149
+ <h4 class="font-medium mb-2">Configuration Ollama requise</h4>
150
+ <p class="text-sm max-w-xs mb-4">
151
+ Ollama fonctionne en local. Aucune clé API n'est requise.
152
+ </p>
153
+ <div class="bg-gray-700 p-3 rounded-lg text-left w-full max-w-xs">
154
+ <p class="text-xs mb-1">1. Téléchargez et installez Ollama</p>
155
+ <p class="text-xs mb-1">2. Lancez l'application Ollama</p>
156
+ <p class="text-xs">3. Configurez l'URL dans les paramètres</p>
 
 
157
  </div>
158
+ <button
159
+ onclick="showSettings()"
160
+ class="mt-4 px-4 py-2 bg-blue-600 hover:bg-blue-700 rounded-lg text-sm transition-colors"
161
+ >
162
+ <i data-feather="settings" class="w-4 h-4 mr-2"></i>
163
+ Configurer Ollama
164
+ </button>
165
  </div>
166
  </div>
167
  </aside>
style.css CHANGED
@@ -67,3 +67,7 @@ body {
67
  border-left: 4px solid #3b82f6;
68
  line-height: 1.5;
69
  }
 
 
 
 
 
67
  border-left: 4px solid #3b82f6;
68
  line-height: 1.5;
69
  }
70
+
71
+ #previewBox .text-sm {
72
+ line-height: 1.5;
73
+ }