ck37 commited on
Commit
1b05be3
1 Parent(s): 736ce46

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import streamlist as st
2
+
3
+ # TODO: load model from our HuggingFace model hub:
4
+ "ucberkeley-dlab/hate-measure-roberta-large"
5
+
6
+ text = st.text_area("Enter text here")
7
+
8
+ if text:
9
+ print("Predict")