Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -67,8 +67,6 @@ def process_data(file):
|
|
67 |
damage , result_image = car_detection_and_Cropping(file)
|
68 |
return (damage_dic,condition)
|
69 |
|
70 |
-
|
71 |
-
gr.
|
72 |
-
|
73 |
-
|
74 |
-
outputs=[gr.Textbox(label="Damage List"),gr.Image(label="Processed Image")]).launch()
|
|
|
67 |
damage , result_image = car_detection_and_Cropping(file)
|
68 |
return (damage_dic,condition)
|
69 |
|
70 |
+
interface = gr.Interface(fn=ProcessLookupError, inputs=gr.Image(type= 'pil', label='Upload Image of Car'),
|
71 |
+
outputs=[gr.Textbox(label="Number of Objects detected "),gr.Image()], title=" 🚘Car Scratch and Dent Detection")
|
72 |
+
interface.launch()
|
|
|
|