Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -327,11 +327,7 @@ Modern warehouse automation platforms β automated storage & retrieval
|
|
| 327 |
systems (AS/RS), conveyor & sortation lines, AGVs/AMRs, and the WMS/WCS
|
| 328 |
software that orchestrates them β generate huge volumes of operational
|
| 329 |
data: equipment telemetry, transactions, safety logs, and ad-hoc questions
|
| 330 |
-
from floor staff.
|
| 331 |
-
AI layer can sit on top of that kind of system: routing requests correctly,
|
| 332 |
-
answering from real operational context instead of guessing, catching
|
| 333 |
-
equipment problems early, and doing all of it with **honest, reproducible
|
| 334 |
-
evaluation** rather than a demo that just "looks like it works."
|
| 335 |
|
| 336 |
## What this demonstrates
|
| 337 |
|
|
@@ -579,19 +575,20 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="blue"), css=CUSTOM_CSS, title="
|
|
| 579 |
gr.Dataframe(orders_df, wrap=True)
|
| 580 |
|
| 581 |
with gr.Tab("β οΈ Predictive Maintenance"):
|
| 582 |
-
gr.
|
| 583 |
-
|
| 584 |
-
|
| 585 |
-
|
| 586 |
-
|
| 587 |
-
|
| 588 |
-
|
| 589 |
-
|
| 590 |
-
|
| 591 |
-
|
| 592 |
-
|
| 593 |
-
|
| 594 |
-
|
|
|
|
| 595 |
preset_dropdown = gr.Dropdown(
|
| 596 |
choices=list(ANOMALY_PRESETS.keys()), label="Load a preset reading", value="Normal reading"
|
| 597 |
)
|
|
|
|
| 327 |
systems (AS/RS), conveyor & sortation lines, AGVs/AMRs, and the WMS/WCS
|
| 328 |
software that orchestrates them β generate huge volumes of operational
|
| 329 |
data: equipment telemetry, transactions, safety logs, and ad-hoc questions
|
| 330 |
+
from floor staff."
|
|
|
|
|
|
|
|
|
|
|
|
|
| 331 |
|
| 332 |
## What this demonstrates
|
| 333 |
|
|
|
|
| 575 |
gr.Dataframe(orders_df, wrap=True)
|
| 576 |
|
| 577 |
with gr.Tab("β οΈ Predictive Maintenance"):
|
| 578 |
+
with gr.Accordion("βΉοΈ About Data & Predictive System", open=False):
|
| 579 |
+
gr.HTML(data_badge(
|
| 580 |
+
"π§ͺ <b>Source:</b> randomly generated by the developer's code "
|
| 581 |
+
"(`src/data_generation.py`, fixed seed) β 1,000 synthetic sensor readings "
|
| 582 |
+
"(900 normal + 100 simulated-fault). Not logged from real equipment.<br>"
|
| 583 |
+
"<b>What it describes:</b> conveyor/crane motor sensor readings β temperature, "
|
| 584 |
+
"vibration, current draw, and belt speed β with the 'anomaly' readings modelled "
|
| 585 |
+
"on realistic failure signatures (elevated temp/vibration/current with reduced "
|
| 586 |
+
"belt speed, as seen with bearing wear or motor overload).<br>"
|
| 587 |
+
"<b>Function:</b> an Isolation Forest model trained unsupervised (it never sees "
|
| 588 |
+
"an anomaly label) learns what 'normal' sensor behaviour looks like, then flags "
|
| 589 |
+
"any new reading β like the ones you enter below β that deviates from it, as an "
|
| 590 |
+
"early-warning signal before an unplanned equipment stoppage."
|
| 591 |
+
))
|
| 592 |
preset_dropdown = gr.Dropdown(
|
| 593 |
choices=list(ANOMALY_PRESETS.keys()), label="Load a preset reading", value="Normal reading"
|
| 594 |
)
|