Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from sentiwordnet_calculator import SentimentPipeline
|
3 |
|
4 |
-
pipe = SentimentPipeline("Tanor/
|
5 |
|
6 |
|
7 |
def calculate(text):
|
|
|
1 |
import gradio as gr
|
2 |
from sentiwordnet_calculator import SentimentPipeline
|
3 |
|
4 |
+
pipe = SentimentPipeline("Tanor/SRGPTSENTPOS2", "Tanor/SRGPTSENTNEG2")
|
5 |
|
6 |
|
7 |
def calculate(text):
|