PablitoGil14 commited on
Commit
ebb86b0
·
verified ·
1 Parent(s): 334113c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,4 +102,4 @@ def predict(img_ruta):
102
  #img = PILImage.create(img) #igual hay que usar esto en vez de PIL.Image.open
103
 
104
  # Creamos la interfaz y la lanzamos.
105
- gr.Interface(fn=predict, inputs=gr.Image(), outputs=gr.Image(), examples=['color_161.jpg','color_162.jpg']).launch(share=True)
 
102
  #img = PILImage.create(img) #igual hay que usar esto en vez de PIL.Image.open
103
 
104
  # Creamos la interfaz y la lanzamos.
105
+ gr.Interface(fn=predict, inputs=gr.Image(), outputs=gr.Image(), examples=['color_161.jpg','color_162.jpg']).launch(share=True, server_name="0.0.0.0", server_port=7860)