SuriRaja commited on
Commit
7cb1eea
·
verified ·
1 Parent(s): 1a29d42

Update truck_owner.py

Browse files
Files changed (1) hide show
  1. truck_owner.py +8 -7
truck_owner.py CHANGED
@@ -31,13 +31,14 @@ def update_data_display():
31
  def truck_owner_ui():
32
  with gr.Blocks() as truck_owner_block:
33
  gr.Markdown("### Truck Owner Functions")
34
- name = gr.Textbox(label="Name")
35
- vehicle_id = gr.Textbox(label="Vehicle ID")
36
- vehicle_type = gr.Textbox(label="Vehicle Type")
37
- route = gr.Textbox(label="Route")
38
- load_availability = gr.Textbox(label="Load Availability")
39
- source = gr.Textbox(label="Source")
40
- destination = gr.Textbox(label="Destination")
 
41
  add_btn = gr.Button("Add Truck Owner")
42
  data_display = gr.DataFrame()
43
 
 
31
  def truck_owner_ui():
32
  with gr.Blocks() as truck_owner_block:
33
  gr.Markdown("### Truck Owner Functions")
34
+ with gr.Row():
35
+ name = gr.Textbox(label="Name")
36
+ vehicle_id = gr.Textbox(label="Vehicle ID")
37
+ vehicle_type = gr.Textbox(label="Vehicle Type")
38
+ route = gr.Textbox(label="Route")
39
+ load_availability = gr.Textbox(label="Load Availability")
40
+ source = gr.Textbox(label="Source")
41
+ destination = gr.Textbox(label="Destination")
42
  add_btn = gr.Button("Add Truck Owner")
43
  data_display = gr.DataFrame()
44