Update index.html
Browse files- index.html +5 -3
index.html
CHANGED
|
@@ -21,16 +21,18 @@
|
|
| 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 |
-
<
|
| 25 |
-
<input type="file" id="fileUpload" accept=".txt,.csv">Choose File
|
| 26 |
<!-- File name preview -->
|
|
|
|
| 27 |
<p id="fileName" class="file-name"></p>
|
| 28 |
-
|
| 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>
|
|
|
|
| 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 |
+
<input type="file" id="fileUpload" accept=".txt,.csv">
|
|
|
|
| 25 |
<!-- File name preview -->
|
| 26 |
+
<label for = "fileUpload" class="custom-file-upload"> Choose File </label>
|
| 27 |
<p id="fileName" class="file-name"></p>
|
| 28 |
+
|
| 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 |
+
<pre id="responseOutput"></pre>
|
| 36 |
|
| 37 |
<div class="download">
|
| 38 |
<button onclick="downloadCSV()">Download Results as CSV</button>
|