malaknihed commited on
Commit
2d57df3
·
verified ·
1 Parent(s): cd26fdd

Update static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +19 -18
static/index.html CHANGED
@@ -60,27 +60,28 @@
60
  <p id="imageResult">Aucune interprétation disponible</p>
61
  <img id="uploadedImage" style="display: none;">
62
 
 
 
63
 
 
 
 
 
 
 
 
 
 
 
 
64
 
65
- <h3>🌍 Traduction de Document</h3>
66
- <div id="translateContainer">
67
- <input type="file" id="translateInput" accept=".pdf, .docx, .txt">
68
-
69
- <label for="targetLang">Choisissez la langue de traduction :</label>
70
- <select id="targetLang">
71
- <option>Français</option>
72
- <option>Anglais</option>
73
- <option>Espagnol</option>
74
- <option>Allemand</option>
75
- <option>Italien</option>
76
- <option>Arabe</option>
77
- </select>
78
-
79
- <button onclick="uploadForTranslation()">Traduire</button>
80
-
81
- <p id="translateResult"></p>
82
- </div>
83
 
 
 
 
 
84
 
85
 
86
 
 
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