Sanjayraju30 commited on
Commit
b3a117b
·
verified ·
1 Parent(s): ed67d1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -16,18 +16,18 @@ def detect_overheat(temp, humidity, solar_output):
16
  interface = gr.Interface(
17
  fn=detect_overheat,
18
  inputs=[
19
- gr.Number(label="Temperature (°C)"),
20
- gr.Number(label="Humidity (%)"),
21
- gr.Number(label="Solar Output (Watts)")
22
  ],
23
- outputs=gr.Text(label="Fault Detection Result"),
24
- title="VIEP Overheat Detection - Smart Pole Fault Monitor",
25
  description=(
26
  "This tool detects overheating faults in Vedavathi Intelligent Energy Poles "
27
  "(VIEP) based on sensor readings from each pole. "
28
  "Enter temperature, humidity, and solar power output to check for overheating faults."
29
- ),
30
- theme="default"
31
  )
32
 
33
  # ---- Launch the App ----
 
16
  interface = gr.Interface(
17
  fn=detect_overheat,
18
  inputs=[
19
+ gr.Number(label="Temperature (°C)"), # Temperature input
20
+ gr.Number(label="Humidity (%)"), # Humidity input
21
+ gr.Number(label="Solar Output (Watts)") # Solar Output input
22
  ],
23
+ outputs=gr.Text(label="Fault Detection Result"), # Output for fault detection
24
+ title="VIEP Overheat Detection - Smart Pole Fault Monitor", # Title of the app
25
  description=(
26
  "This tool detects overheating faults in Vedavathi Intelligent Energy Poles "
27
  "(VIEP) based on sensor readings from each pole. "
28
  "Enter temperature, humidity, and solar power output to check for overheating faults."
29
+ ), # Description of how the app works
30
+ theme="default" # App theme
31
  )
32
 
33
  # ---- Launch the App ----