Update index.html
Browse files- index.html +6 -6
index.html
CHANGED
@@ -20,18 +20,18 @@
|
|
20 |
<label for="prompt">Your Prompt:</label>
|
21 |
<textarea id="prompt" placeholder="Type your test prompt here..."></textarea>
|
22 |
|
23 |
-
<label for="fileUpload">Or upload a file with prompts
|
24 |
<label class="custom-file-upload">
|
25 |
<input type="file" id="fileUpload" accept=".txt,.csv">Choose File
|
26 |
-
|
27 |
-
<
|
28 |
</label>
|
29 |
<button onclick="send()">Send Prompt</button>
|
30 |
|
31 |
<h3 style="margin-top: 24px; color: #6b21a8;">Response:</h3>
|
32 |
-
|
33 |
-
<
|
34 |
-
|
35 |
<div class="download">
|
36 |
<button onclick="downloadCSV()">Download Results as CSV</button>
|
37 |
</div>
|
|
|
20 |
<label for="prompt">Your Prompt:</label>
|
21 |
<textarea id="prompt" placeholder="Type your test prompt here..."></textarea>
|
22 |
|
23 |
+
<label for="fileUpload">Or upload a csv file with prompts</label>
|
24 |
<label class="custom-file-upload">
|
25 |
<input type="file" id="fileUpload" accept=".txt,.csv">Choose File
|
26 |
+
<!-- File name preview -->
|
27 |
+
<p id="fileName" class="file-name"></p>
|
28 |
</label>
|
29 |
<button onclick="send()">Send Prompt</button>
|
30 |
|
31 |
<h3 style="margin-top: 24px; color: #6b21a8;">Response:</h3>
|
32 |
+
<!-- Loading animation -->
|
33 |
+
<div id="loading" class="loading" style="display: none;">⏳ Processing prompts... Please wait.</div>
|
34 |
+
|
35 |
<div class="download">
|
36 |
<button onclick="downloadCSV()">Download Results as CSV</button>
|
37 |
</div>
|