shainis commited on
Commit
35a4eb7
1 Parent(s): d9b5bb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", "45"], ["I did not like this book because", "30"]]
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",