Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ outputs = [
|
|
111 |
gr.Textbox(label="Rear")
|
112 |
]
|
113 |
|
114 |
-
with gr.Blocks(
|
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():
|
@@ -125,6 +125,6 @@ with gr.Blocks(css=".gradio-container {margin-top: -10px !important;}") as demo:
|
|
125 |
gr.Markdown("### Output Predictions")
|
126 |
for out in outputs:
|
127 |
out.render()
|
128 |
-
gr.Image(image_path, width=500, height=300
|
129 |
|
130 |
demo.launch()
|
|
|
111 |
gr.Textbox(label="Rear")
|
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():
|
|
|
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()
|