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
Add cleaning json string function and loading it to json from string e899803 verified allenpark commited on Jul 29, 2024
add json.loads back with debugging printing lines 7484cb4 verified allenpark commited on Jul 29, 2024
add debugging print statements and temp remove json.loads 8d436a0 verified allenpark commited on Jul 29, 2024
get attributes of response using dot notation not square bracket notation 5274dd8 verified allenpark commited on Jul 29, 2024
Update backend to use Lepton API rather than created HF model 5b6755d verified allenpark commited on Jul 29, 2024