Spaces:
Runtime error
Runtime error
intelliarts
commited on
Commit
•
3ef559c
1
Parent(s):
9ae20c2
Update app.py
Browse files
app.py
CHANGED
@@ -16,10 +16,14 @@ with gr.Blocks() as demo:
|
|
16 |
submit_button = gr.Button(value="Submit", label="Submit")
|
17 |
with gr.Column():
|
18 |
gr.Markdown("## Outputs")
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
|
|
|
|
|
|
|
|
23 |
|
24 |
#actions
|
25 |
submit_button.click(
|
|
|
16 |
submit_button = gr.Button(value="Submit", label="Submit")
|
17 |
with gr.Column():
|
18 |
gr.Markdown("## Outputs")
|
19 |
+
with gr.Tab('Image of damages'):
|
20 |
+
im1 = gr.Image(type='numpy',label='Image of damages')
|
21 |
+
with gr.Tab('Image of scratches'):
|
22 |
+
im2 = gr.Image(type='numpy',label='Image of scratches')
|
23 |
+
with gr.Tab('Image of parts'):
|
24 |
+
im3 = gr.Image(type='numpy',label='Image of car parts')
|
25 |
+
with gr.Tab('Information about damaged parts'):
|
26 |
+
intersections = gr.Textbox(label='Information about type of damages on each part')
|
27 |
|
28 |
#actions
|
29 |
submit_button.click(
|