pog commited on
Commit
c8a5905
·
1 Parent(s): 8e93c94

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ ex1=["I feel like I don't have the energy to do anything."]
4
+ ex2=["I feel so sad lately. I haven't eaten lunch yet."]
5
+
6
+ gr.Interface.load("huggingface/ShreyaR/finetuned-roberta-depression",
7
+ title="Depression Detector",
8
+ description="Label 1 suggests that the user may have depression",
9
+ examples=[ex1,ex2],
10
+ allow_flagging="never").launch(inbrowser=True)