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