Update app.py
Browse files
app.py
CHANGED
@@ -112,18 +112,19 @@ outputs = [
|
|
112 |
]
|
113 |
|
114 |
with gr.Blocks() as demo:
|
|
|
|
|
115 |
with gr.Row():
|
116 |
with gr.Column():
|
117 |
-
gr.Markdown("## Environmental Factor-Based Contamination Level Prediction\nEnter the environmental factors to get the contamination levels for Front Left, Front Right, Left, Right, Roof, and Rear LiDARs.")
|
118 |
gr.Markdown("### Input Parameters")
|
119 |
for inp in inputs:
|
120 |
inp.render()
|
121 |
gr.Button(value="Submit", variant="primary").click(fn=gradio_interface, inputs=inputs, outputs=outputs)
|
122 |
gr.Button(value="Clear").click(fn=lambda: None)
|
123 |
-
gr.Image(image_path, width=400, height=250) # Adjust the width and height as needed
|
124 |
with gr.Column():
|
125 |
gr.Markdown("### Output Predictions")
|
126 |
for out in outputs:
|
127 |
out.render()
|
|
|
128 |
|
129 |
demo.launch()
|
|
|
112 |
]
|
113 |
|
114 |
with gr.Blocks() as demo:
|
115 |
+
gr.Markdown("# Environmental Factor-Based Contamination Level Prediction")
|
116 |
+
gr.Markdown("Enter the environmental factors to get the contamination levels for Front Left, Front Right, Left, Right, Roof, and Rear LiDARs.")
|
117 |
with gr.Row():
|
118 |
with gr.Column():
|
|
|
119 |
gr.Markdown("### Input Parameters")
|
120 |
for inp in inputs:
|
121 |
inp.render()
|
122 |
gr.Button(value="Submit", variant="primary").click(fn=gradio_interface, inputs=inputs, outputs=outputs)
|
123 |
gr.Button(value="Clear").click(fn=lambda: None)
|
|
|
124 |
with gr.Column():
|
125 |
gr.Markdown("### Output Predictions")
|
126 |
for out in outputs:
|
127 |
out.render()
|
128 |
+
gr.Image(image_path, width=500, height=300) # Adjust the width and height as needed
|
129 |
|
130 |
demo.launch()
|