thuyentruong commited on
Commit
f2e9212
·
verified ·
1 Parent(s): 5411670

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -41,10 +41,8 @@ def get_sentiment_from_llm(sentence):
41
  )[0],
42
  skip_special_tokens=True)
43
  return "\n".join(output.split('PPrint '))
44
-
45
- get_rules_from_llm(question)
46
 
47
- gr.Interface.from_pipeline(pipe,
48
  title="Sentiment Analysis",
49
  description="Sentiment analysis and keywords extraction. Powered by prompt tuned google/flan-t5-base",
50
  ).launch()
 
41
  )[0],
42
  skip_special_tokens=True)
43
  return "\n".join(output.split('PPrint '))
 
 
44
 
45
+ gr.Interface.from_pipeline(get_sentiment_from_llm,
46
  title="Sentiment Analysis",
47
  description="Sentiment analysis and keywords extraction. Powered by prompt tuned google/flan-t5-base",
48
  ).launch()