Nechama commited on
Commit
2dd44a2
·
verified ·
1 Parent(s): 62b66e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="pil"), 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."
 
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."