saba000farahani commited on
Commit
aecb06a
·
verified ·
1 Parent(s): e6f2545

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -111,7 +111,7 @@ outputs = [
111
  gr.Textbox(label="Rear")
112
  ]
113
 
114
- with gr.Blocks(css=".gradio-container {margin-top: -10px !important;}") 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,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, style="margin-top: -30px;") # Adjust the width, height, and margin as needed
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()