Javier Flores
commited on
Commit
·
ab22997
1
Parent(s):
756a93b
sa
Browse files
app.py
CHANGED
|
@@ -174,12 +174,15 @@ para la empresa GCC , la imagen debe contener cualquiera equipo contra acidentes
|
|
| 174 |
* Chaleco de Seguridad. ...
|
| 175 |
* Guantes de seguridad. ...
|
| 176 |
* Botas de Seguridad. ...
|
| 177 |
-
* Fuentes
|
| 178 |
-
|
|
|
|
|
|
|
| 179 |
inp = gr.Image(type="pil")
|
| 180 |
output = gr.Image(type="pil")
|
| 181 |
-
|
| 182 |
examples=[["Examples/Image1.jpg","Image1"],["Examples/Image2.jpg","Image2"]]
|
| 183 |
|
| 184 |
io=gr.Interface(fn=Custom_detect, inputs=inp, outputs=output, title='Prueba de GuardIA',examples=examples,cache_examples=False,description=description)
|
|
|
|
| 185 |
io.launch()
|
|
|
|
| 174 |
* Chaleco de Seguridad. ...
|
| 175 |
* Guantes de seguridad. ...
|
| 176 |
* Botas de Seguridad. ...
|
| 177 |
+
* Fuentes
|
| 178 |
+
<img src="banner.jpg" alt="equipo de proteccion individual" width="500" height="600">
|
| 179 |
+
"""
|
| 180 |
+
|
| 181 |
inp = gr.Image(type="pil")
|
| 182 |
output = gr.Image(type="pil")
|
| 183 |
+
banner = gr.Image("banner.jpg", width=400)
|
| 184 |
examples=[["Examples/Image1.jpg","Image1"],["Examples/Image2.jpg","Image2"]]
|
| 185 |
|
| 186 |
io=gr.Interface(fn=Custom_detect, inputs=inp, outputs=output, title='Prueba de GuardIA',examples=examples,cache_examples=False,description=description)
|
| 187 |
+
|
| 188 |
io.launch()
|