Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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)
|