intelliarts commited on
Commit
f9b47bb
·
1 Parent(s): 0f0d765

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 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.Tab():
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')