Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=["
|
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()
|