Spaces:
Sleeping
Sleeping
translate
Browse files- static/index.html +12 -19
static/index.html
CHANGED
|
@@ -60,28 +60,21 @@
|
|
| 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 |
-
|
| 79 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
|
| 81 |
-
<p id="loading">⏳ Traduction en cours...</p>
|
| 82 |
-
|
| 83 |
-
<p id="translateResult">Aucune traduction disponible</p>
|
| 84 |
-
</div>
|
| 85 |
|
| 86 |
|
| 87 |
|
|
|
|
| 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, .xlsx">
|
| 68 |
+
<select id="targetLang">
|
| 69 |
+
<option value="fr">Français</option>
|
| 70 |
+
<option value="en">Anglais</option>
|
| 71 |
+
<option value="es">Espagnol</option>
|
| 72 |
+
<option value="de">Allemand</option>
|
| 73 |
+
</select>
|
| 74 |
+
<button onclick="uploadForTranslation()">Traduire</button>
|
| 75 |
+
<p id="translateResult">Aucune traduction disponible</p>
|
| 76 |
+
</div>
|
| 77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
|
| 79 |
|
| 80 |
|