|
<!doctype html> |
|
<html> |
|
<head> |
|
<meta charset="utf-8" /> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
<title>LLM TESTING</title> |
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet"> |
|
<link rel="stylesheet" href="style.css" /> |
|
</head> |
|
<body> |
|
<div class="container"> |
|
<h1>Welcome to your researcher friendly LLM workspace!</h1> |
|
|
|
<label for="model">Choose Model:</label> |
|
<select id="model"> |
|
<option value="google/gemma-3n-e2b-it:free">Google Gemma</option> |
|
<option value="deepseek/deepseek-r1:free">DeepSeek Chat v3</option> |
|
</select> |
|
|
|
<label for="prompt">Your Prompt:</label> |
|
<textarea id="prompt" placeholder="Type your test prompt here..."></textarea> |
|
|
|
<label for="fileUpload">Or upload a csv file with prompts</label> |
|
<input type="file" id="fileUpload" accept=".txt,.csv"> |
|
|
|
<label for = "fileUpload" class="custom-file-upload"> Choose File </label> |
|
<p id="fileName" class="file-name"></p> |
|
|
|
<button onclick="send()">Send Prompt</button> |
|
|
|
<h3 style="margin-top: 24px; color: #6b21a8;">Response:</h3> |
|
|
|
<div id="loading" class="loading" style="display: none;">⏳ Processing prompts... Please wait.</div> |
|
|
|
<pre id="responseOutput"></pre> |
|
|
|
<div class="download"> |
|
<button onclick="downloadCSV()">Download Results as CSV</button> |
|
</div> |
|
</div> |
|
|
|
<script src="app.js"></script> |
|
</body> |
|
</html> |
|
|