Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import transformers
|
| 3 |
import torch
|
| 4 |
-
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 5 |
|
| 6 |
# Define the paths of the pre-trained models
|
| 7 |
model1_path = "saisi/finetuned-Sentiment-classfication-ROBERTA-Base-model"
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import transformers
|
| 3 |
import torch
|
| 4 |
+
from transformers import pipeline, AutoTokenizer, AutoModelForSequenceClassification
|
| 5 |
|
| 6 |
# Define the paths of the pre-trained models
|
| 7 |
model1_path = "saisi/finetuned-Sentiment-classfication-ROBERTA-Base-model"
|