intelliarts commited on
Commit
2301d47
·
1 Parent(s): 7b818ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -10
app.py CHANGED
@@ -1,16 +1,17 @@
1
  import gradio as gr
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')
 
14
 
15
  if __name__ == "__main__":
16
  demo.launch()
 
1
  import gradio as gr
2
 
3
  with gr.Blocks() as demo:
4
+ with gr.Row():
5
+ with gr.Column():
6
+ gr.Markdown("## Inputs")
7
+ image = gr.Image(type="pil",label="Input")
8
+ submit_button = gr.Button(value="Submit", label="Submit")
9
+ with gr.Column():
10
+ gr.Markdown("## Outputs")
11
+ im1 = gr.Image(type='numpy',label='Image of damages')
12
+ im2 = gr.Image(type='numpy',label='Image of scratches')
13
+ im3 = gr.Image(type='numpy',label='Image of car parts')
14
+ intersections = gr.Textbox(label='Information about type of damages on each part')
15
 
16
  if __name__ == "__main__":
17
  demo.launch()