subhanshu commited on
Commit
3362b30
1 Parent(s): 33986e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,6 +1,9 @@
1
  import gradio as gr
 
2
  from transformers import pipeline
 
3
  sentiment= pipeline("sentiment-analysis")
 
4
  def get_sentiment(input_text):
5
  return sentiment(input_text)
6
 
 
1
  import gradio as gr
2
+
3
  from transformers import pipeline
4
+
5
  sentiment= pipeline("sentiment-analysis")
6
+
7
  def get_sentiment(input_text):
8
  return sentiment(input_text)
9