FatimaGr commited on
Commit
98eb0c4
·
verified ·
1 Parent(s): c07c1d4
Files changed (1) hide show
  1. static/index.html +24 -2
static/index.html CHANGED
@@ -60,10 +60,32 @@
60
  <p id="imageResult">Aucune interprétation disponible</p>
61
  <img id="uploadedImage" style="display: none;">
62
 
63
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
 
65
 
66
  <script src="app.js"></script>
67
 
68
  </body>
69
- </html>
 
60
  <p id="imageResult">Aucune interprétation disponible</p>
61
  <img id="uploadedImage" style="display: none;">
62
 
63
+ <div id="translateContainer">
64
+ <h3>🌍 Traduction de Documents</h3>
65
+
66
+ <label for="translateFile">Sélectionnez un fichier :</label>
67
+ <input type="file" id="translateFile" accept=".pdf,.docx,.pptx,.xlsx">
68
+
69
+ <br>
70
+ <label for="targetLanguageSelect">Langue cible :</label>
71
+ <select id="targetLanguageSelect">
72
+ <option value="fr">Français</option>
73
+ <option value="en">Anglais</option>
74
+ <option value="es">Espagnol</option>
75
+ <option value="de">Allemand</option>
76
+ </select>
77
+
78
+ <br>
79
+ <button onclick="uploadTranslation()">📤 Traduire</button>
80
+
81
+ <p id="loading">⏳ Traduction en cours...</p>
82
+
83
+ <p id="translateResult">Aucune traduction disponible</p>
84
+ </div>
85
+
86
 
87
 
88
  <script src="app.js"></script>
89
 
90
  </body>
91
+ </html>