Update index.html
Browse files- index.html +5 -2
index.html
CHANGED
@@ -22,12 +22,15 @@
|
|
22 |
|
23 |
<label for="fileUpload">Or upload a file with prompts (one per line):</label>
|
24 |
<label class="custom-file-upload">
|
25 |
-
<input type="file" id="fileUpload" accept=".txt,.csv">Choose File
|
|
|
|
|
26 |
</label>
|
27 |
<button onclick="send()">Send Prompt</button>
|
28 |
|
29 |
<h3 style="margin-top: 24px; color: #6b21a8;">Response:</h3>
|
30 |
-
<
|
|
|
31 |
|
32 |
<div class="download">
|
33 |
<button onclick="downloadCSV()">Download Results as CSV</button>
|
|
|
22 |
|
23 |
<label for="fileUpload">Or upload a file with prompts (one per line):</label>
|
24 |
<label class="custom-file-upload">
|
25 |
+
<input type="file" id="fileUpload" accept=".txt,.csv">Choose File>
|
26 |
+
<!-- After your file input -->
|
27 |
+
<div id="file-info" class="text-gray-600 text-sm mt-2"></div>
|
28 |
</label>
|
29 |
<button onclick="send()">Send Prompt</button>
|
30 |
|
31 |
<h3 style="margin-top: 24px; color: #6b21a8;">Response:</h3>
|
32 |
+
<div id="loading" class="hidden">Running prompts... 👇</div>
|
33 |
+
<pre id="response" class="hidden"></pre>
|
34 |
|
35 |
<div class="download">
|
36 |
<button onclick="downloadCSV()">Download Results as CSV</button>
|