Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ def reviews_generator(text,n_words):
|
|
7 |
preds = learn.predict(text, n_words)
|
8 |
return preds
|
9 |
|
10 |
-
examples = [["The beauty of this book",
|
11 |
|
12 |
gr.Interface(fn = reviews_generator,
|
13 |
title = "Book reviews generator",
|
|
|
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 |
|
12 |
gr.Interface(fn = reviews_generator,
|
13 |
title = "Book reviews generator",
|