Sarvamangalak commited on
Commit
0318618
·
verified ·
1 Parent(s): 0f116ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -115,6 +115,14 @@ def process_image(img):
115
  return image, plate_text, vehicle_type, get_dashboard()
116
 
117
  # -------------------- Gradio UI --------------------
 
 
 
 
 
 
 
 
118
  with gr.Blocks() as demo:
119
  gr.Markdown("## 🚦 Smart Traffic & EV Analytics System")
120
  gr.Markdown(
@@ -140,4 +148,4 @@ with gr.Blocks() as demo:
140
  [output_img, plate_box, type_box, dashboard]
141
  )
142
 
143
- demo.launch()
 
115
  return image, plate_text, vehicle_type, get_dashboard()
116
 
117
  # -------------------- Gradio UI --------------------
118
+ css = """
119
+ textarea {
120
+ white-space: pre-wrap !important;
121
+ word-break: break-word !important;
122
+ overflow-wrap: break-word !important;
123
+ }
124
+ """
125
+
126
  with gr.Blocks() as demo:
127
  gr.Markdown("## 🚦 Smart Traffic & EV Analytics System")
128
  gr.Markdown(
 
148
  [output_img, plate_box, type_box, dashboard]
149
  )
150
 
151
+ demo.launch(css=css)