Spaces:
Build error
Build error
Commit
·
107dee9
1
Parent(s):
3e24f30
Update app.py
Browse files
app.py
CHANGED
@@ -2,10 +2,6 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification, Trai
|
|
2 |
from datasets import pandas, Dataset
|
3 |
import csv
|
4 |
|
5 |
-
# Read requirements.txt file
|
6 |
-
with open('requirements.txt', 'r') as req_file:
|
7 |
-
requirements = req_file.read().splitlines()
|
8 |
-
|
9 |
# Load and preprocess the IMDB dataset from CSV
|
10 |
preprocessed_data = []
|
11 |
with open('IMDB Dataset.csv', 'r') as csv_file:
|
|
|
2 |
from datasets import pandas, Dataset
|
3 |
import csv
|
4 |
|
|
|
|
|
|
|
|
|
5 |
# Load and preprocess the IMDB dataset from CSV
|
6 |
preprocessed_data = []
|
7 |
with open('IMDB Dataset.csv', 'r') as csv_file:
|