Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def app(image, adjustment):
|
|
32 |
# Create the Gradio interface
|
33 |
interface = gr.Interface(
|
34 |
fn=app,
|
35 |
-
inputs=[gr.inputs.Image(type="
|
36 |
outputs="text",
|
37 |
title="Recipe Adjuster",
|
38 |
description="Upload an image of a recipe, and this app will double or halve the recipe."
|
|
|
32 |
# Create the Gradio interface
|
33 |
interface = gr.Interface(
|
34 |
fn=app,
|
35 |
+
inputs=[gr.inputs.Image(type="file"), gr.inputs.Dropdown(["double", "halve"])],
|
36 |
outputs="text",
|
37 |
title="Recipe Adjuster",
|
38 |
description="Upload an image of a recipe, and this app will double or halve the recipe."
|