broadfield-dev commited on
Commit
65c01b6
·
verified ·
1 Parent(s): f8a03dd

Update templates/index.html

Browse files
Files changed (1) hide show
  1. 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
- <!-- New Button to Process Hugging Face Dataset -->
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 -->