Commit History

fix(change height of button to auto with display: flex)
4c3a573

Allen Park commited on

fix(added class to make button fixed height)
034edb9

Allen Park commited on

fix(remove io.BytesIO when taking in docx file)
7144bca

Allen Park commited on

feat(docx text extraction): extract all the text from the uploaded docx file
6efea88

Allen Park commited on

fix(pdfplumber): replace the pdfplumber package and implementation with pymupdf
901a87e

Allen Park commited on

feat(pdf text extraction): extract all the text from the uploaded pdf file
e504a30

Allen Park commited on

add file_types parameter to only allow pdfs, docs, & text files; make sure file count is single for visible uploadbutton elements
1230f78

Allen Park commited on

add scale value of textbox input for document
0b27a4e

Allen Park commited on

print the type of filepath and filepath name
49a1729

Allen Park commited on

move upload file button to document/context
b9132f9

Allen Park commited on

removed visibility in clearbutton & markdown since the parent will handle visibility; removed clearbutton as parameter since nothing about it needs to be changed
9ecbe8e

Allen Park commited on

make gr.Group a variable that is passed in functions to change visibility dynamically
4a543db

Allen Park commited on

add visibility (false) for parent (gr.Group); possible breaking change as no trigger to make visibility true again
b9b1597

Allen Park commited on

print out filepath and file when uploaded
6fe41d2

Allen Park commited on

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