ccm commited on
Commit
2dadcdd
1 Parent(s): ca1362c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -168,7 +168,9 @@ class Network(object):
168
  # return idx, other_data_input, true_output, predicted_output
169
  return table
170
 
 
171
  forward_net = Network("16forward_structure.json", "16forward_weights.h5")
 
172
  inverse_net = Network("16inverse_structure.json", "16inverse_weights.h5")
173
 
174
 
 
168
  # return idx, other_data_input, true_output, predicted_output
169
  return table
170
 
171
+ global forward_net
172
  forward_net = Network("16forward_structure.json", "16forward_weights.h5")
173
+ global inverse_net
174
  inverse_net = Network("16inverse_structure.json", "16inverse_weights.h5")
175
 
176