osanseviero HF staff commited on
Commit
2e7e5a2
1 Parent(s): dad1114

Reset changes

Browse files
Files changed (2) hide show
  1. helpers.py +0 -4
  2. pipeline.py +4 -1
helpers.py DELETED
@@ -1,4 +0,0 @@
1
- # Custom code used by the model.
2
-
3
- def is_cat(x):
4
- return x[0].isupper()
 
 
 
 
 
pipeline.py CHANGED
@@ -3,8 +3,11 @@ from PIL import Image
3
 
4
  import os
5
  from fastai.learner import load_learner
6
- from helpers import is_cat
7
 
 
 
 
 
8
 
9
  class PreTrainedPipeline():
10
  def __init__(self, path=""):
 
3
 
4
  import os
5
  from fastai.learner import load_learner
 
6
 
7
+ # Custom code used by the model.
8
+
9
+ def is_cat(x):
10
+ return x[0].isupper()
11
 
12
  class PreTrainedPipeline():
13
  def __init__(self, path=""):