Kumarkishalaya commited on
Commit
9645311
1 Parent(s): 666dfb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import gradio as gr
2
  from transformers import AutoTokenizer, TFAutoModelForSeq2SeqLM, MarianMTModel
 
3
  from tensorflow.keras.models import load_model
4
  import pickle
5
  import json
 
1
  import gradio as gr
2
  from transformers import AutoTokenizer, TFAutoModelForSeq2SeqLM, MarianMTModel
3
+ from tensorflow.keras.preprocessing.sequence import pad_sequences
4
  from tensorflow.keras.models import load_model
5
  import pickle
6
  import json