Spaces:
Runtime error
Runtime error
atifsial123
commited on
Commit
•
cb24176
1
Parent(s):
bf33cf7
Update app.py
Browse files
app.py
CHANGED
@@ -4,10 +4,11 @@ os.system('pip install transformers')
|
|
4 |
import os
|
5 |
os.system('pip install torch')
|
6 |
# Import the necessary libraries
|
|
|
7 |
from transformers import AutoModel, AutoTokenizer
|
8 |
import torch
|
9 |
from torch.utils.data import DataLoader, Dataset
|
10 |
-
from sklearn.model_selection import train_test_split #
|
11 |
import pandas as pd
|
12 |
import gradio as gr
|
13 |
|
|
|
4 |
import os
|
5 |
os.system('pip install torch')
|
6 |
# Import the necessary libraries
|
7 |
+
# Import the necessary libraries
|
8 |
from transformers import AutoModel, AutoTokenizer
|
9 |
import torch
|
10 |
from torch.utils.data import DataLoader, Dataset
|
11 |
+
from sklearn.model_selection import train_test_split # Corrected import statement
|
12 |
import pandas as pd
|
13 |
import gradio as gr
|
14 |
|