update
Browse files
app.py
CHANGED
|
@@ -65,9 +65,12 @@ def master(file):
|
|
| 65 |
plot2 = plot_anomalies(df_test_value, data, anomalies)
|
| 66 |
return plot2
|
| 67 |
|
|
|
|
|
|
|
|
|
|
| 68 |
iface = gr.Interface(master,
|
| 69 |
gr.inputs.File(label="csv file"),
|
| 70 |
-
outputs=
|
| 71 |
examples=["art_daily_jumpsup.csv"], title="Timeseries Anomaly Detection Using an Autoencoder",
|
| 72 |
description = "Anomaly detection of timeseries data.",
|
| 73 |
article = "Space by: <a href=\"https://www.linkedin.com/in/olohireme-ajayi/\">Reme Ajayi</a> <br> Keras Example by <a href=\"https://github.com/pavithrasv/\"> Pavithra Vijay</a>")
|
|
|
|
| 65 |
plot2 = plot_anomalies(df_test_value, data, anomalies)
|
| 66 |
return plot2
|
| 67 |
|
| 68 |
+
outputs = gr.Plot()
|
| 69 |
+
|
| 70 |
+
|
| 71 |
iface = gr.Interface(master,
|
| 72 |
gr.inputs.File(label="csv file"),
|
| 73 |
+
outputs=outputs,
|
| 74 |
examples=["art_daily_jumpsup.csv"], title="Timeseries Anomaly Detection Using an Autoencoder",
|
| 75 |
description = "Anomaly detection of timeseries data.",
|
| 76 |
article = "Space by: <a href=\"https://www.linkedin.com/in/olohireme-ajayi/\">Reme Ajayi</a> <br> Keras Example by <a href=\"https://github.com/pavithrasv/\"> Pavithra Vijay</a>")
|