Spaces:
Runtime error
Runtime error
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') |