pog's picture
Upload app.py
c8a5905
raw
history blame
442 Bytes
import gradio as gr
ex1=["I feel like I don't have the energy to do anything."]
ex2=["I feel so sad lately. I haven't eaten lunch yet."]
gr.Interface.load("huggingface/ShreyaR/finetuned-roberta-depression",
title="Depression Detector",
description="Label 1 suggests that the user may have depression",
examples=[ex1,ex2],
allow_flagging="never").launch(inbrowser=True)