Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ learn = load_learner('export.pkl')
|
|
5 |
|
6 |
def reviews_generator(text,n_words):
|
7 |
preds = learn.predict(text, n_words)
|
8 |
-
return
|
9 |
|
10 |
examples = [["The beauty of this book", "45"], ["I did not like this book because", "30"]]
|
11 |
|
|
|
5 |
|
6 |
def reviews_generator(text,n_words):
|
7 |
preds = learn.predict(text, n_words)
|
8 |
+
return preds
|
9 |
|
10 |
examples = [["The beauty of this book", "45"], ["I did not like this book because", "30"]]
|
11 |
|