Akhil-77 commited on
Commit
975a894
·
1 Parent(s): f6db089

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ sentiment = pipeline('sentiment-analysis')
6
  def get_sentiment(input_text):
7
  return sentiment(input_text)
8
 
9
- front_end = gr.Interface(fn = get_sentiment(),
10
  inputs = "text",
11
  outputs = ["text"],
12
  title = "Toxicity Detector",
 
6
  def get_sentiment(input_text):
7
  return sentiment(input_text)
8
 
9
+ front_end = gr.Interface(fn = get_sentiment,
10
  inputs = "text",
11
  outputs = ["text"],
12
  title = "Toxicity Detector",