llepogam commited on
Commit
945f037
·
1 Parent(s): 43ecbbe

offensive speech app

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,7 +7,7 @@ import requests
7
 
8
  ### Config
9
  st.set_page_config(
10
- page_title="Hate Speech Recognition",
11
  page_icon="⚠️",
12
  layout="wide"
13
  )
@@ -37,8 +37,8 @@ def hate_speech_detection(text):
37
 
38
 
39
 
40
- st.title("Hate Speech Detection")
41
- user_input = st.text_area("Enter a Tweet:")
42
 
43
  if user_input:
44
  prediction = hate_speech_detection(user_input)
 
7
 
8
  ### Config
9
  st.set_page_config(
10
+ page_title="Offensive Speech Recognition",
11
  page_icon="⚠️",
12
  layout="wide"
13
  )
 
37
 
38
 
39
 
40
+ st.title("Offensive Speech Detection")
41
+ user_input = st.text_area("Enter a text:")
42
 
43
  if user_input:
44
  prediction = hate_speech_detection(user_input)