ahamedddd commited on
Commit
970b15c
·
1 Parent(s): 30eb8c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def predict(string):
55
 
56
  # Transform the raw dataset using non-batched API (i.e apply transformation line by line)
57
  def apply_transform(x):
58
- return transform(x[0]), x[1]
59
 
60
  dp = dp.map(apply_transform)
61
  dp = dp.batch(1)
 
55
 
56
  # Transform the raw dataset using non-batched API (i.e apply transformation line by line)
57
  def apply_transform(x):
58
+ return text_transform(x[0]), x[1]
59
 
60
  dp = dp.map(apply_transform)
61
  dp = dp.batch(1)