Spaces:
Running
Running
Update templates/index.html
Browse files- templates/index.html +4 -1
templates/index.html
CHANGED
@@ -47,10 +47,13 @@
|
|
47 |
<button type="submit" class="w-full bg-purple-500 text-white p-2 rounded-lg hover:bg-purple-600 transition">Find Programs by Description</button>
|
48 |
</form>
|
49 |
|
50 |
-
<!--
|
51 |
<form hx-post="/" hx-target="#results" hx-swap="innerHTML" class="space-y-4">
|
52 |
<button type="submit" name="process_hf" value="true" class="w-full bg-orange-500 text-white p-2 rounded-lg hover:bg-orange-600 transition">Process Hugging Face Dataset</button>
|
53 |
</form>
|
|
|
|
|
|
|
54 |
</div>
|
55 |
|
56 |
<!-- Results Section -->
|
|
|
47 |
<button type="submit" class="w-full bg-purple-500 text-white p-2 rounded-lg hover:bg-purple-600 transition">Find Programs by Description</button>
|
48 |
</form>
|
49 |
|
50 |
+
<!-- Buttons to Process Hugging Face Dataset and Reset Database -->
|
51 |
<form hx-post="/" hx-target="#results" hx-swap="innerHTML" class="space-y-4">
|
52 |
<button type="submit" name="process_hf" value="true" class="w-full bg-orange-500 text-white p-2 rounded-lg hover:bg-orange-600 transition">Process Hugging Face Dataset</button>
|
53 |
</form>
|
54 |
+
<form hx-post="/" hx-target="#results" hx-swap="innerHTML" class="space-y-4">
|
55 |
+
<button type="submit" name="reset_db" value="true" class="w-full bg-red-500 text-white p-2 rounded-lg hover:bg-red-600 transition">Reset Database</button>
|
56 |
+
</form>
|
57 |
</div>
|
58 |
|
59 |
<!-- Results Section -->
|