CoolFace
Apppublic

pog/Depression-Detector

sourceHugging Faceafl-3.0updated 4y agoView on Hugging Face
1likes
app.py10 linesDownload Raw Back to root
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)