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