Spaces:
Runtime error
Runtime error
Commit
·
0c8b904
1
Parent(s):
f9b47bb
Update app.py
Browse files
app.py
CHANGED
@@ -2,13 +2,12 @@ import gradio as gr
|
|
2 |
|
3 |
with gr.Blocks() as demo:
|
4 |
with gr.Column():
|
|
|
5 |
image = gr.Image(type="pil",label="Input")
|
6 |
submit_button = gr.Button(value="Submit", label="Submit")
|
7 |
-
with gr.
|
|
|
8 |
im1 = gr.Image(type='numpy',label='Image of damages')
|
9 |
-
with gr.Tab():
|
10 |
im2 = gr.Image(type='numpy',label='Image of scratches')
|
11 |
-
with gr.Tab():
|
12 |
im3 = gr.Image(type='numpy',label='Image of car parts')
|
13 |
-
with gr.Tab():
|
14 |
intersections = gr.Textbox(label='Information about type of damages on each part')
|
|
|
2 |
|
3 |
with gr.Blocks() as demo:
|
4 |
with gr.Column():
|
5 |
+
gr.Markdown("## Inputs")
|
6 |
image = gr.Image(type="pil",label="Input")
|
7 |
submit_button = gr.Button(value="Submit", label="Submit")
|
8 |
+
with gr.Column():
|
9 |
+
gr.Markdown("## Outputs")
|
10 |
im1 = gr.Image(type='numpy',label='Image of damages')
|
|
|
11 |
im2 = gr.Image(type='numpy',label='Image of scratches')
|
|
|
12 |
im3 = gr.Image(type='numpy',label='Image of car parts')
|
|
|
13 |
intersections = gr.Textbox(label='Information about type of damages on each part')
|