broadfield-dev commited on
Commit
c157f01
·
verified ·
1 Parent(s): e605f4b

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +4 -1
templates/index.html CHANGED
@@ -47,7 +47,10 @@
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>
 
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 Load, Process, and Reset Hugging Face Dataset and Database -->
51
+ <form hx-post="/" hx-target="#results" hx-swap="innerHTML" class="space-y-4">
52
+ <button type="submit" name="load_dataset" value="true" class="w-full bg-cyan-500 text-white p-2 rounded-lg hover:bg-cyan-600 transition">Load 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="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>
56
  </form>