Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,18 +1,3 @@
|
|
1 |
-
pip install transformers
|
2 |
-
pip install evaluate
|
3 |
-
pip install gradio
|
4 |
-
pip install torch
|
5 |
-
pip install random
|
6 |
-
pip install sklearn
|
7 |
-
pip install datasets
|
8 |
-
pip install textblob
|
9 |
-
pip install pipeline
|
10 |
-
pip install requests
|
11 |
-
pip install torchvision
|
12 |
-
pip install numpy
|
13 |
-
pip install torchvision.io
|
14 |
-
pip install torchvision.utils
|
15 |
-
|
16 |
from transformers import TextClassificationPipeline
|
17 |
from transformers import AutoTokenizer
|
18 |
from transformers import pipeline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
from transformers import TextClassificationPipeline
|
2 |
from transformers import AutoTokenizer
|
3 |
from transformers import pipeline
|