daniescamilla commited on
Commit
afd82a6
verified
1 Parent(s): de839e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -61,10 +61,10 @@ def process_image(image):
61
  iface = gr.Interface(
62
  fn=process_image,
63
  inputs=gr.Image(type="pil"),
64
- outputs=["text", "text"],
65
  title="Recipe Generator from Dish Image",
66
  description="Upload an image of a dish to get a description, ingredient list, and step-by-step recipe."
67
  )
68
 
69
  # Lanzar la aplicaci贸n de Gradio
70
- iface.launch()
 
61
  iface = gr.Interface(
62
  fn=process_image,
63
  inputs=gr.Image(type="pil"),
64
+ outputs=[gr.Textbox(label="Dish"), gr.Textbox(label="Recipe")],
65
  title="Recipe Generator from Dish Image",
66
  description="Upload an image of a dish to get a description, ingredient list, and step-by-step recipe."
67
  )
68
 
69
  # Lanzar la aplicaci贸n de Gradio
70
+ iface.launch()