Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ from transformers import pipeline
|
|
2 |
import gradio as gr
|
3 |
import torch
|
4 |
|
5 |
-
model = "
|
6 |
pipe = pipeline('sentiment-analysis', model=model)
|
7 |
|
8 |
def get_sentiment(input_text):
|
|
|
2 |
import gradio as gr
|
3 |
import torch
|
4 |
|
5 |
+
model = "neuralmind/bert-base-portuguese-cased"
|
6 |
pipe = pipeline('sentiment-analysis', model=model)
|
7 |
|
8 |
def get_sentiment(input_text):
|