KhaledAB2023 commited on
Commit
5c83321
·
verified ·
1 Parent(s): a294fac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,6 +6,6 @@ pipe = pipeline("sentiment-analysis")
6
  def get_sentiment(input):
7
  return pipe(input)
8
 
9
- demo= gr.Interface(fn=get_sentiment, inputs="text" ,outputs="text")
10
- demo.launch ()
11
 
 
6
  def get_sentiment(input):
7
  return pipe(input)
8
 
9
+ demo = gr.Interface(fn=get_sentiment, inputs="text", outputs="text")
10
+ demo.launch()
11