sebasfb99 commited on
Commit
b1f94d4
·
verified ·
1 Parent(s): 107e914

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -21,10 +21,6 @@ def predict_image(image):
21
  return result, "If you don't have an image, please download one from this link: https://drive.google.com/drive/folders/1Dr11dKuSlgtWaTzNLRixzB19y588iNib?usp=sharing"
22
 
23
  # Crear la interfaz de Gradio
24
- iface = gr.Interface(fn=predict_image,
25
- inputs=gr.Image(type="pil"),
26
- outputs=[gr.Textbox(label="Prediction"), gr.Textbox(label="Download Link")],
27
- live=True)
28
-
29
  # Lanzar la interfaz
30
  iface.launch()
 
21
  return result, "If you don't have an image, please download one from this link: https://drive.google.com/drive/folders/1Dr11dKuSlgtWaTzNLRixzB19y588iNib?usp=sharing"
22
 
23
  # Crear la interfaz de Gradio
24
+ iface = gr.Interface(fn=predict_image,inputs=gr.Image(type="pil"), outputs=[gr.Textbox(label="Prediction"), gr.Textbox(label="Download Link")], live=True)
 
 
 
 
25
  # Lanzar la interfaz
26
  iface.launch()