Update app.py
Browse files
app.py
CHANGED
|
@@ -158,7 +158,7 @@ output = gr.Image(type="pil")
|
|
| 158 |
#.outputs.Textbox() ,api_mode=True
|
| 159 |
#css = ".output-image, .input-image {height: 40rem !important; width: 20rem !important;}"
|
| 160 |
css = ".image-preview {height: auto !important;}"
|
| 161 |
-
examples=[["Examples/Image1.jpg","Image1"],["Examples/Image2.jpg","Image2"],["Examples/
|
| 162 |
|
| 163 |
io=gr.Interface(fn=Custom_detect, inputs=inp, outputs=output, title='Pot Hole Detection With Custom YOLOv7',examples=examples,cache_examples=False,css=css)
|
| 164 |
io.launch()
|
|
|
|
| 158 |
#.outputs.Textbox() ,api_mode=True
|
| 159 |
#css = ".output-image, .input-image {height: 40rem !important; width: 20rem !important;}"
|
| 160 |
css = ".image-preview {height: auto !important;}"
|
| 161 |
+
examples=[["Examples/Image1.jpg","Image1"],["Examples/Image2.jpg","Image2"],["Examples/Image3.jpg","Image3"]]
|
| 162 |
|
| 163 |
io=gr.Interface(fn=Custom_detect, inputs=inp, outputs=output, title='Pot Hole Detection With Custom YOLOv7',examples=examples,cache_examples=False,css=css)
|
| 164 |
io.launch()
|