Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ model = BertForSequenceClassification.from_pretrained('huawei-noah/TinyBERT_Gene
|
|
10 |
|
11 |
# Load dataset from Hugging Face repository
|
12 |
# Replace 'your-username' and 'your-dataset-name' with actual values
|
13 |
-
dataset = load_dataset('SharmaAmit1818/data_analysis', data_files='data-qQeu1Z0CfsuqRUaDagRA1 (1).csv')
|
14 |
|
15 |
# Function to process the CSV file and generate predictions
|
16 |
def process_csv(file):
|
|
|
10 |
|
11 |
# Load dataset from Hugging Face repository
|
12 |
# Replace 'your-username' and 'your-dataset-name' with actual values
|
13 |
+
dataset = load_dataset('SharmaAmit1818/data_analysis/blob/main', data_files='data-qQeu1Z0CfsuqRUaDagRA1 (1).csv')
|
14 |
|
15 |
# Function to process the CSV file and generate predictions
|
16 |
def process_csv(file):
|