change key name
This commit is contained in:
parent
c348b7ca72
commit
c727544281
@ -4,9 +4,8 @@ import pandas as pd
|
|||||||
|
|
||||||
model = mlf.keras.load_model("movies_imdb")
|
model = mlf.keras.load_model("movies_imdb")
|
||||||
|
|
||||||
|
|
||||||
with open('movies_imdb/input_example.json', 'r') as datafile:
|
with open('movies_imdb/input_example.json', 'r') as datafile:
|
||||||
data = json.load(datafile).inputs
|
data = json.load(datafile)['inputs']
|
||||||
|
|
||||||
input_dictionary = {idx:x for idx, x in enumerate(data)}
|
input_dictionary = {idx:x for idx, x in enumerate(data)}
|
||||||
input_ex = pd.DataFrame([input_dictionary])
|
input_ex = pd.DataFrame([input_dictionary])
|
||||||
|
Loading…
Reference in New Issue
Block a user