Spaces:
Runtime error
Runtime error
Update truck_owner.py
Browse files- 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 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
|
|
|
| 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 |
|