Spaces:
Build error
Build error
Commit
·
ba55e05
1
Parent(s):
107dee9
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,10 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification, Trai
|
|
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:
|
|
|
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:
|