ierhon commited on
Commit
8e0e6a5
1 Parent(s): 8256bee

Import numpy

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
2
  import pickle
3
  from keras.models import load_model
4
  from keras_self_attention import SeqSelfAttention
 
5
 
6
  model = load_model("model.keras", custom_objects={"SeqSelfAttention":SeqSelfAttention})
7
  with open("tokenizer.pckl", "rb") as file:
 
2
  import pickle
3
  from keras.models import load_model
4
  from keras_self_attention import SeqSelfAttention
5
+ import numpy as np
6
 
7
  model = load_model("model.keras", custom_objects={"SeqSelfAttention":SeqSelfAttention})
8
  with open("tokenizer.pckl", "rb") as file: