Spaces:
Sleeping
Sleeping
Update static/index.html
Browse files- static/index.html +12 -9
static/index.html
CHANGED
|
@@ -45,7 +45,7 @@
|
|
| 45 |
<div class="space-y-4">
|
| 46 |
<div>
|
| 47 |
<label for="pagesPerRequestInput" class="block text-sm font-medium text-slate-700 mb-2">Pages per API Call</label>
|
| 48 |
-
<input type="number" id="pagesPerRequestInput" value="
|
| 49 |
<p class="mt-1 text-xs text-slate-500">How many PDF pages to send to Gemini at once.</p>
|
| 50 |
</div>
|
| 51 |
<div>
|
|
@@ -82,14 +82,17 @@
|
|
| 82 |
</button>
|
| 83 |
</div>
|
| 84 |
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
|
|
|
|
|
|
|
|
|
| 93 |
|
| 94 |
<div id="resultsWrapper" class="hidden space-y-8 mt-8">
|
| 95 |
<div class="grid grid-cols-1 md:grid-cols-4 gap-4">
|
|
|
|
| 45 |
<div class="space-y-4">
|
| 46 |
<div>
|
| 47 |
<label for="pagesPerRequestInput" class="block text-sm font-medium text-slate-700 mb-2">Pages per API Call</label>
|
| 48 |
+
<input type="number" id="pagesPerRequestInput" value="200" min="1" max="500" class="block w-full rounded-md border-slate-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm p-3">
|
| 49 |
<p class="mt-1 text-xs text-slate-500">How many PDF pages to send to Gemini at once.</p>
|
| 50 |
</div>
|
| 51 |
<div>
|
|
|
|
| 82 |
</button>
|
| 83 |
</div>
|
| 84 |
|
| 85 |
+
<div id="loader" class="hidden flex flex-col justify-center items-center py-10 bg-slate-50 rounded-lg w-full min-h-[200px]">
|
| 86 |
+
<div class="w-10 h-10 border-4 border-indigo-200 border-l-indigo-600 rounded-full animate-spin"></div>
|
| 87 |
+
|
| 88 |
+
<p id="loaderText" class="mt-4 text-slate-600 text-center font-medium">Initializing Analysis...</p>
|
| 89 |
+
|
| 90 |
+
<div class="w-full max-w-sm mt-4 bg-slate-200 rounded-full h-2.5 overflow-hidden mx-auto">
|
| 91 |
+
<div id="progressBar" class="bg-indigo-600 h-2.5 rounded-full transition-all duration-300 ease-out" style="width: 0%"></div>
|
| 92 |
+
</div>
|
| 93 |
+
|
| 94 |
+
<p id="progressPercent" class="mt-2 text-sm font-medium text-indigo-700 text-center">0%</p>
|
| 95 |
+
</div>
|
| 96 |
|
| 97 |
<div id="resultsWrapper" class="hidden space-y-8 mt-8">
|
| 98 |
<div class="grid grid-cols-1 md:grid-cols-4 gap-4">
|