fix(change height of button to auto with display: flex)
4c3a573
Allen Parkcommited on
fix(added class to make button fixed height)
034edb9
Allen Parkcommited on
fix(remove io.BytesIO when taking in docx file)
7144bca
Allen Parkcommited on
feat(docx text extraction): extract all the text from the uploaded docx file
6efea88
Allen Parkcommited on
fix(pdfplumber): replace the pdfplumber package and implementation with pymupdf
901a87e
Allen Parkcommited on
feat(pdf text extraction): extract all the text from the uploaded pdf file
e504a30
Allen Parkcommited on
add file_types parameter to only allow pdfs, docs, & text files; make sure file count is single for visible uploadbutton elements
1230f78
Allen Parkcommited on
add scale value of textbox input for document
0b27a4e
Allen Parkcommited on
print the type of filepath and filepath name
49a1729
Allen Parkcommited on
move upload file button to document/context
b9132f9
Allen Parkcommited 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 Parkcommited on
make gr.Group a variable that is passed in functions to change visibility dynamically
4a543db
Allen Parkcommited on
add visibility (false) for parent (gr.Group); possible breaking change as no trigger to make visibility true again
b9b1597
Allen Parkcommited on
print out filepath and file when uploaded
6fe41d2
Allen Parkcommited on
add visible parameters for all other gr.Markdown elements
a0cb5d0
Allen Parkcommited on
add visible=False for markdown when no file is uploaded yet
7a4d50b
Allen Parkcommited on
change gr.label with markdown for smaller indiciation
4cb73b2
Allen Parkcommited on
change filename from textbox to label
b2da20e
Allen Parkcommited on
add non interactive textbox below input to display uploaded file
34e4cb8
Allen Parkcommited 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 Parkcommited on
remove svg code and replace with label 'upload'; comment out downloadbutton gradio element and add clearbutton (to clear uploaded file)
32e8378
Allen Parkcommited on
make scale 9:1 instead of 4:1
f1b5533
Allen Parkcommited on
add f to make fstring and embed svg
dc63fd7
Allen Parkcommited on
add formatted svg code to gradio element in label parameter
93e82e3
Allen Parkcommited on
remove parent gr.Column and adjust scale of elements (textbox, uploadbutton, downloadbutton)
8a56afd
Allen Parkcommited on
get rid of additional 'gr.Row()' parent and change scale ratio to 9:1 from 4:1
67958ca
Allen Parkcommited on
add additional parent of gr.Row() to upload and download file buttons
4685c47
Allen Parkcommited on
add css code to change font family to plus jakarta sans
5b6505c
Allen Parkcommited on
try formatting ui to have upload right next to textboxes for input
f575d58
Allen Parkcommited on
add upload & download file functions & gradio elements
f41fff5
Allen Parkcommited 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 Parkcommited on
add temperature of 0.0
7f45e1c
Allen Parkcommited on
change 2 uncaught calls of 'Patronus Lynx 8B' to
f2c7470
Allen Parkcommited on
change 8b model name from 'Patronus Lynx 8B' to 'Patronus Lynx 8B v1.1'
ec09f15
Allen Parkcommited on
comment out gradio interface element and add print statement for model
6b786ce
Allen Parkcommited on
add interface code to compare
f9136ba
Allen Parkcommited on
only update the client base_url rather than toggling between different client elements
1418604
Allen Parkcommited on
uncomment interface code to compare
f663f9b
Allen Parkcommited on
add client initialization and dropdown changing model for client
a1f7b63
Allen Parkcommited on
update lepton api to v1 of 8b and comment out 70b call; move dropdown to top and add interactive=true
7be224f
Allen Parkcommited on
add dropdown gradio element
23bdb9e
Allen Parkcommited on
trigger model_call function when pressing enter in any of the textboxes
ba8b0ab
Allen Parkcommited on
add clear button
d5478e2
Allen Parkcommited on
get rid of first and last character of combined string
1861169
Allen Parkcommited on
combine array of sentence strings into one string
87d4d46
Allen Parkcommited on
add code to take hallucination boolean and return either PASS or FAIL
2cdd4cb
Allen Parkcommited on
remove old json string cleaning function and use Patronus nemo guardrails code