Update app.py
Browse files
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(
|
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()
|