petter2025 commited on
Commit
2c5332d
·
verified ·
1 Parent(s): 1e5a278

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -7
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
- temp_plot = gr.LinePlot(
390
- label="Temperature History (last 20 readings)",
391
- x="index",
392
- y="temperature",
393
- width=600,
394
- height=300
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"):