Hammad712 commited on
Commit
481ebb9
·
verified ·
1 Parent(s): 6616ad2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -163,7 +163,7 @@ def encode_image(image_path):
163
 
164
  def explain_image(base64_image):
165
  text_query = '''
166
- explain the image according to the pakistani food item.
167
  '''
168
  chat_completion = client.chat.completions.create(
169
  messages=[
@@ -208,7 +208,7 @@ def generate_recipe_name(base64_image):
208
  Example format:
209
  {json.dumps(example_json_structure, indent=2)}
210
 
211
- Write the name of the dish and then write the ingredients used for each recipe.
212
  '''
213
 
214
  chat_completion = client.chat.completions.create(
 
163
 
164
  def explain_image(base64_image):
165
  text_query = '''
166
+ explain the image.
167
  '''
168
  chat_completion = client.chat.completions.create(
169
  messages=[
 
208
  Example format:
209
  {json.dumps(example_json_structure, indent=2)}
210
 
211
+ Write the name of the dish and then write the ingredients used for each recipe According to the Pakistani Food Items.
212
  '''
213
 
214
  chat_completion = client.chat.completions.create(