Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
-
import fastbook
|
3 |
-
from fastbook import *
|
4 |
-
from pathlib import Path
|
5 |
-
|
6 |
from fastai.text.all import *
|
7 |
|
8 |
-
fastbook.setup_book()
|
9 |
-
|
10 |
learn = load_learner('export.pkl')
|
11 |
|
12 |
def reviews_generator(text,n_words):
|
|
|
1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
2 |
from fastai.text.all import *
|
3 |
|
|
|
|
|
4 |
learn = load_learner('export.pkl')
|
5 |
|
6 |
def reviews_generator(text,n_words):
|