malaknihed commited on
Commit
a736e05
·
verified ·
1 Parent(s): 1913902
Files changed (1) hide show
  1. static/index.html +43 -32
static/index.html CHANGED
@@ -1,32 +1,43 @@
1
- <!DOCTYPE html>
2
- <html lang="fr">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Analyse de Documents et d'Images</title>
7
- <style>
8
- body { font-family: Arial, sans-serif; text-align: center; margin: 20px; }
9
- input, button { margin: 10px; padding: 10px; }
10
- #result { margin-top: 20px; font-weight: bold; white-space: pre-wrap; }
11
- img { max-width: 100%; margin-top: 20px; }
12
- </style>
13
- </head>
14
- <body>
15
-
16
- <h2>Upload un fichier pour analyse</h2>
17
-
18
- <h3>📄 Résumé de Document</h3>
19
- <input type="file" id="documentInput" accept=".pdf, .docx, .pptx, .xlsx">
20
- <button onclick="uploadDocument()">Analyser</button>
21
- <p id="documentResult">Aucun résumé disponible</p>
22
-
23
- <h3>🖼️ Interprétation d'Image</h3>
24
- <input type="file" id="imageInput" accept="image/*">
25
- <button onclick="uploadImage()">Analyser</button>
26
- <p id="imageResult">Aucune interprétation disponible</p>
27
- <img id="uploadedImage" style="display: none;">
28
-
29
- <script src="app.js"></script>
30
-
31
- </body>
32
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="fr">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Analyse de Documents et d'Images</title>
7
+ <style>
8
+ body { font-family: Arial, sans-serif; text-align: center; margin: 20px; }
9
+ input, button, select { margin: 10px; padding: 10px; }
10
+ #result { margin-top: 20px; font-weight: bold; white-space: pre-wrap; }
11
+ img { max-width: 100%; margin-top: 20px; }
12
+ </style>
13
+ </head>
14
+ <body>
15
+
16
+ <h2>Upload un fichier pour analyse</h2>
17
+
18
+ <h3>📄 Résumé de Document</h3>
19
+ <input type="file" id="documentInput" accept=".pdf, .docx, .pptx, .xlsx">
20
+ <button onclick="uploadDocument()">Analyser</button>
21
+ <p id="documentResult">Aucun résumé disponible</p>
22
+
23
+ <h3>🖼️ Interprétation d'Image</h3>
24
+ <input type="file" id="imageInput" accept="image/*">
25
+ <button onclick="uploadImage()">Analyser</button>
26
+ <p id="imageResult">Aucune interprétation disponible</p>
27
+ <img id="uploadedImage" style="display: none;">
28
+
29
+ <h3>🌍 Traduction de Document</h3>
30
+ <input type="file" id="translateInput" accept=".pdf, .docx, .pptx, .xlsx">
31
+ <select id="languageSelect">
32
+ <option value="fr">Français</option>
33
+ <option value="en">Anglais</option>
34
+ <option value="es">Espagnol</option>
35
+ <option value="de">Allemand</option>
36
+ </select>
37
+ <button onclick="uploadTranslation()">Traduire</button>
38
+ <p id="translateResult">Aucune traduction disponible</p>
39
+
40
+ <script src="app.js"></script>
41
+
42
+ </body>
43
+ </html>