pog/Depression-Detector
1
1import gradio as gr2 3ex1=["I feel like I don't have the energy to do anything."]4ex2=["I feel so sad lately. I haven't eaten lunch yet."]5 6gr.Interface.load("huggingface/ShreyaR/finetuned-roberta-depression",7 title="Depression Detector",8 description="Label 1 suggests that the user may have depression (model taken from ShreyaR)",9 examples=[ex1,ex2],10 allow_flagging="never").launch(inbrowser=True)