intelliarts's picture
Create app.py
f9b47bb
raw
history blame
542 Bytes
import gradio as gr
with gr.Blocks() as demo:
with gr.Column():
image = gr.Image(type="pil",label="Input")
submit_button = gr.Button(value="Submit", label="Submit")
with gr.Tab():
im1 = gr.Image(type='numpy',label='Image of damages')
with gr.Tab():
im2 = gr.Image(type='numpy',label='Image of scratches')
with gr.Tab():
im3 = gr.Image(type='numpy',label='Image of car parts')
with gr.Tab():
intersections = gr.Textbox(label='Information about type of damages on each part')