Prakhar618 commited on
Commit
7925913
1 Parent(s): a3f57dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def tokenize_function(examples):
13
  max_length=256)
14
 
15
  def predict(text):
16
- # Convert test dataframe to Hugging Face dataset
17
  test_dataset = Dataset.from_pandas(pd.DataFrame(text,columns=['text']))
18
 
19
  # Apply the tokenization function to the train dataset
 
13
  max_length=256)
14
 
15
  def predict(text):
16
+ # Convert test dataframe to Hugging Face
17
  test_dataset = Dataset.from_pandas(pd.DataFrame(text,columns=['text']))
18
 
19
  # Apply the tokenization function to the train dataset