Spaces:
Running
Running
Commit
·
cd09d80
1
Parent(s):
7e14e6f
attempt at resolving issue with pipeline import
Browse files- app.py +2 -1
- requirements.txt +2 -1
app.py
CHANGED
@@ -2,7 +2,8 @@ import streamlit as st
|
|
2 |
import pandas as pd
|
3 |
import time
|
4 |
from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer
|
5 |
-
from transformers import
|
|
|
6 |
import matplotlib.pyplot as plt
|
7 |
from pymystem3 import Mystem
|
8 |
import io
|
|
|
2 |
import pandas as pd
|
3 |
import time
|
4 |
from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer
|
5 |
+
from transformers import AutoModelForSequenceClassification, AutoTokenizer, pipeline
|
6 |
+
from transformers import MarianMTModel, MarianTokenizer
|
7 |
import matplotlib.pyplot as plt
|
8 |
from pymystem3 import Mystem
|
9 |
import io
|
requirements.txt
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
streamlit
|
2 |
pandas
|
3 |
vaderSentiment
|
4 |
-
transformers
|
5 |
torch
|
|
|
6 |
pymystem3
|
7 |
openpyxl
|
8 |
rapidfuzz
|
|
|
1 |
streamlit
|
2 |
pandas
|
3 |
vaderSentiment
|
4 |
+
transformers>=4.30.0
|
5 |
torch
|
6 |
+
sentencepiece
|
7 |
pymystem3
|
8 |
openpyxl
|
9 |
rapidfuzz
|