Update app.py
Browse files
app.py
CHANGED
|
@@ -180,7 +180,7 @@ def simple_synthesis(index):
|
|
| 180 |
|
| 181 |
def synthesis_from_spectrum(df):
|
| 182 |
net = Network("16inverse_structure.json", "16inverse_weights.h5")
|
| 183 |
-
pred = net.
|
| 184 |
return plotly_fig(pred)
|
| 185 |
|
| 186 |
import plotly.graph_objects as go
|
|
|
|
| 180 |
|
| 181 |
def synthesis_from_spectrum(df):
|
| 182 |
net = Network("16inverse_structure.json", "16inverse_weights.h5")
|
| 183 |
+
pred = net.synthesis_from_spectrum(df.to_numpy())
|
| 184 |
return plotly_fig(pred)
|
| 185 |
|
| 186 |
import plotly.graph_objects as go
|