Spaces:
Sleeping
Sleeping
Commit
·
e9c8039
1
Parent(s):
e5e690b
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import tensorflow
|
|
2 |
from tensorflow.keras.datasets import imdb
|
3 |
from tensorflow import keras
|
4 |
import gradio as gr
|
|
|
5 |
|
6 |
rnn = keras.models.load_model('model.h5')
|
7 |
words_per_review = 200
|
|
|
2 |
from tensorflow.keras.datasets import imdb
|
3 |
from tensorflow import keras
|
4 |
import gradio as gr
|
5 |
+
import numpy as np
|
6 |
|
7 |
rnn = keras.models.load_model('model.h5')
|
8 |
words_per_review = 200
|