Spaces:
Runtime error
Runtime error
design of dashboard
Browse files- .gitmodules +0 -3
- app.py +7 -4
- data_mnist +1 -0
.gitmodules
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
[submodule "data_mnist"]
|
| 2 |
-
path = data_mnist
|
| 3 |
-
url = https://huggingface.co/datasets/chrisjay/mnist-adversarial-dataset.git
|
|
|
|
|
|
|
|
|
|
|
|
app.py
CHANGED
|
@@ -449,10 +449,13 @@ def main():
|
|
| 449 |
</div>
|
| 450 |
""")
|
| 451 |
|
| 452 |
-
|
| 453 |
-
|
| 454 |
-
|
| 455 |
-
|
|
|
|
|
|
|
|
|
|
| 456 |
|
| 457 |
dashboard.select(get_statistics,inputs=[],outputs=[stat_adv_image,test_results,notification,stats])
|
| 458 |
|
|
|
|
| 449 |
</div>
|
| 450 |
""")
|
| 451 |
|
| 452 |
+
with gr.Row():
|
| 453 |
+
stats = gr.Markdown()
|
| 454 |
+
gr.Markdown(DASHBOARD_EXPLANATION)
|
| 455 |
+
with gr.Row():
|
| 456 |
+
stat_adv_image =gr.Plot(type="matplotlib")
|
| 457 |
+
|
| 458 |
+
test_results=gr.Plot(type="matplotlib")
|
| 459 |
|
| 460 |
dashboard.select(get_statistics,inputs=[],outputs=[stat_adv_image,test_results,notification,stats])
|
| 461 |
|
data_mnist
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Subproject commit 0ab00061db91e8eebc5f18a1951d59a69ea78884
|