Update app.py
Browse files
app.py
CHANGED
@@ -18,6 +18,7 @@ sess = tf.compat.v1.Session()
|
|
18 |
from keras import backend as K
|
19 |
K.set_session(sess)
|
20 |
|
|
|
21 |
graph = tf.compat.v1.get_default_graph()
|
22 |
|
23 |
# Do you want it loud?
|
@@ -177,6 +178,7 @@ forward_net = Network("16forward_structure.json", "16forward_weights.h5")
|
|
177 |
inverse_net = Network("16inverse_structure.json", "16inverse_weights.h5")
|
178 |
|
179 |
|
|
|
180 |
import plotly.graph_objects as go
|
181 |
import numpy as np
|
182 |
|
|
|
18 |
from keras import backend as K
|
19 |
K.set_session(sess)
|
20 |
|
21 |
+
global graph
|
22 |
graph = tf.compat.v1.get_default_graph()
|
23 |
|
24 |
# Do you want it loud?
|
|
|
178 |
inverse_net = Network("16inverse_structure.json", "16inverse_weights.h5")
|
179 |
|
180 |
|
181 |
+
|
182 |
import plotly.graph_objects as go
|
183 |
import numpy as np
|
184 |
|