Commit History

add visible parameters for all other gr.Markdown elements
a0cb5d0

Allen Park commited on

add visible=False for markdown when no file is uploaded yet
7a4d50b

Allen Park commited on

change gr.label with markdown for smaller indiciation
4cb73b2

Allen Park commited on

change filename from textbox to label
b2da20e

Allen Park commited on

add non interactive textbox below input to display uploaded file
34e4cb8

Allen Park commited on

add 2nd return variable to upload_file to make clearbutton visible and create reset_buttons (simply changing visibility) that is triggered on c.click
82e1308

Allen Park commited on

remove svg code and replace with label 'upload'; comment out downloadbutton gradio element and add clearbutton (to clear uploaded file)
32e8378

Allen Park commited on

make scale 9:1 instead of 4:1
f1b5533

Allen Park commited on

add f to make fstring and embed svg
dc63fd7

Allen Park commited on

add formatted svg code to gradio element in label parameter
93e82e3

Allen Park commited on

remove parent gr.Column and adjust scale of elements (textbox, uploadbutton, downloadbutton)
8a56afd

Allen Park commited on

get rid of additional 'gr.Row()' parent and change scale ratio to 9:1 from 4:1
67958ca

Allen Park commited on

add additional parent of gr.Row() to upload and download file buttons
4685c47

Allen Park commited on

add css code to change font family to plus jakarta sans
5b6505c

Allen Park commited on

try formatting ui to have upload right next to textboxes for input
f575d58

Allen Park commited on

add upload & download file functions & gradio elements
f41fff5

Allen Park commited on

updated requirements.txt to only have openai; get rid of old imoprt statements that are not needed (i.e. spaces, transformers, torch, etc.)
68c11f0

Allen Park commited on

add temperature of 0.0
7f45e1c

Allen Park commited on

change 2 uncaught calls of 'Patronus Lynx 8B' to
f2c7470

Allen Park commited on

change 8b model name from 'Patronus Lynx 8B' to 'Patronus Lynx 8B v1.1'
ec09f15

Allen Park commited on

comment out gradio interface element and add print statement for model
6b786ce

Allen Park commited on

add interface code to compare
f9136ba

Allen Park commited on

only update the client base_url rather than toggling between different client elements
1418604

Allen Park commited on

uncomment interface code to compare
f663f9b

Allen Park commited on

add client initialization and dropdown changing model for client
a1f7b63

Allen Park commited on

update lepton api to v1 of 8b and comment out 70b call; move dropdown to top and add interactive=true
7be224f

Allen Park commited on

add dropdown gradio element
23bdb9e

Allen Park commited on

trigger model_call function when pressing enter in any of the textboxes
ba8b0ab

Allen Park commited on

add clear button
d5478e2

Allen Park commited on

get rid of first and last character of combined string
1861169

Allen Park commited on

combine array of sentence strings into one string
87d4d46

Allen Park commited on

add code to take hallucination boolean and return either PASS or FAIL
2cdd4cb

Allen Park commited on

remove old json string cleaning function and use Patronus nemo guardrails code
37528ea

Allen Park commited on

new cleaning function
2a3f17f
verified

allenpark commited on

replace json string cleaning function
e9da7c7
verified

allenpark commited on

add extra cleaning part to clean_json_string function
b6534ef
verified

allenpark commited on

add print statement for cleaned json check
806fa98
verified

allenpark commited on

comment out interface
c43c3ad
verified

allenpark commited on

comment out submit button call
59cd0d4
verified

allenpark commited on

Comment out deconstructed gradio elements (gr.Row & gr.Column) and uncomment gr.Interface
5f74acb
verified

allenpark commited on

change equal conditional to ==
eb7b56f
verified

allenpark commited on

add base case check if any parameters are empty (return two empty strings)
1aa6e35
verified

allenpark commited on

add gr.Row() parent and change the children back to gr.Column()
a32e6bd
verified

allenpark commited on

change gr.Column to gr.Row
f78882d
verified

allenpark commited on

remove commented out code from previous HF model creation attempt
f14501f
verified

allenpark commited on

remove label in gr.Button (submit)
08495cc
verified

allenpark commited on

change submit_button to gradio Button type rather than Textbox type
6cfd411
verified

allenpark commited on

Refactor deconstruct interface to columns with textbox
5aab811
verified

allenpark commited on

misspelled return variable (json_st -> json_str)
68fe1ac
verified

allenpark commited on

import re
57cf6db
verified

allenpark commited on