Spaces:
Runtime error
Runtime error
| 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 (model taken from ShreyaR)", | |
| examples=[ex1,ex2], | |
| allow_flagging="never").launch(inbrowser=True) |