add non interactive textbox below input to display uploaded file 34e4cb8 Allen Park commited on Jul 29
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 Jul 29
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 Jul 29
remove parent gr.Column and adjust scale of elements (textbox, uploadbutton, downloadbutton) 8a56afd Allen Park commited on Jul 29
get rid of additional 'gr.Row()' parent and change scale ratio to 9:1 from 4:1 67958ca Allen Park commited on Jul 29
add additional parent of gr.Row() to upload and download file buttons 4685c47 Allen Park commited on Jul 29
try formatting ui to have upload right next to textboxes for input f575d58 Allen Park commited on Jul 29
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 Jul 29
change 8b model name from 'Patronus Lynx 8B' to 'Patronus Lynx 8B v1.1' ec09f15 Allen Park commited on Jul 29
comment out gradio interface element and add print statement for model 6b786ce Allen Park commited on Jul 29
only update the client base_url rather than toggling between different client elements 1418604 Allen Park commited on Jul 29
add client initialization and dropdown changing model for client a1f7b63 Allen Park commited on Jul 29
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 Jul 29
trigger model_call function when pressing enter in any of the textboxes ba8b0ab Allen Park commited on Jul 29
add code to take hallucination boolean and return either PASS or FAIL 2cdd4cb Allen Park commited on Jul 29
remove old json string cleaning function and use Patronus nemo guardrails code 37528ea Allen Park commited on Jul 29
Comment out deconstructed gradio elements (gr.Row & gr.Column) and uncomment gr.Interface 5f74acb verified allenpark commited on Jul 29
add base case check if any parameters are empty (return two empty strings) 1aa6e35 verified allenpark commited on Jul 29
add gr.Row() parent and change the children back to gr.Column() a32e6bd verified allenpark commited on Jul 29
remove commented out code from previous HF model creation attempt f14501f verified allenpark commited on Jul 29
change submit_button to gradio Button type rather than Textbox type 6cfd411 verified allenpark commited on Jul 29