Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -386,13 +386,12 @@ with gr.Blocks(title="ARF v4 – AI Reliability Lab", theme="soft") as demo:
|
|
| 386 |
with gr.Column():
|
| 387 |
pred_display = gr.JSON(label="Failure Prediction")
|
| 388 |
with gr.Row():
|
| 389 |
-
|
| 390 |
-
|
| 391 |
-
|
| 392 |
-
|
| 393 |
-
|
| 394 |
-
|
| 395 |
-
)
|
| 396 |
|
| 397 |
# Tab 5: Enterprise – Marketing and Sales
|
| 398 |
with gr.TabItem("Enterprise"):
|
|
|
|
| 386 |
with gr.Column():
|
| 387 |
pred_display = gr.JSON(label="Failure Prediction")
|
| 388 |
with gr.Row():
|
| 389 |
+
with gr.Column(scale=1, min_width=600): # Controls width, height will be automatic
|
| 390 |
+
temp_plot = gr.LinePlot(
|
| 391 |
+
label="Temperature History (last 20 readings)",
|
| 392 |
+
x="index",
|
| 393 |
+
y="temperature"
|
| 394 |
+
)
|
|
|
|
| 395 |
|
| 396 |
# Tab 5: Enterprise – Marketing and Sales
|
| 397 |
with gr.TabItem("Enterprise"):
|