Spaces:
Runtime error
Runtime error
Commit
·
2301d47
1
Parent(s):
7b818ea
Update app.py
Browse files
app.py
CHANGED
@@ -1,16 +1,17 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
with gr.Blocks() as demo:
|
4 |
-
with gr.
|
5 |
-
gr.
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
gr.
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
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()
|