ajdarshaydullin commited on
Commit
d081832
·
1 Parent(s): 76d5a8f
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -38,7 +38,7 @@ def get_reciepe(ingridients):
38
  },
39
  {
40
  "role": "user",
41
- "text": "spaghetti squash, Granny Smith, cucumber, cuke",
42
  },
43
  ]
44
 
@@ -60,9 +60,9 @@ def get_answer(image):
60
  iface = gr.Interface(
61
  fn=get_answer, # Function to call
62
  inputs=gr.Image(label="Upload an image", type="pil"), # Input type: Image
63
- outputs=gr.Markdown(label="Classification Result"), # Output type: Markdown
64
- title="Food Ingredient Classifier",
65
- description="Upload an image of a food ingredient to classify it."
66
  )
67
 
68
  # Launch the Gradio app
 
38
  },
39
  {
40
  "role": "user",
41
+ "text": ingridients,
42
  },
43
  ]
44
 
 
60
  iface = gr.Interface(
61
  fn=get_answer, # Function to call
62
  inputs=gr.Image(label="Upload an image", type="pil"), # Input type: Image
63
+ outputs=gr.Markdown(label="Result"), # Output type: Markdown
64
+ title="cook.ai",
65
+ description="Upload an image of a food ingredients"
66
  )
67
 
68
  # Launch the Gradio app