Vihang28 commited on
Commit
d441162
·
verified ·
1 Parent(s): 19e9398

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def api_calling(image, prompt, api_key):
15
  base64_image = encode_image(image)
16
  if len(prompt) == 0:
17
  # prompt = "Provide a brief description of the image."
18
- prompt = "I want you to act as an image elaborator. I will share an image with you and you will reply to me with the explanation of the image with accuracy in English, I want you to keep the reply neat, limiting the reply to 250 words. You can ask me questions in conversational manor if need, but the answers should be based on the quesions asked."
19
 
20
 
21
  headers = {
 
15
  base64_image = encode_image(image)
16
  if len(prompt) == 0:
17
  # prompt = "Provide a brief description of the image."
18
+ prompt = "I want you to act as an image elaborator. I will share an image with you and you will reply to me with the explanation of the image with accuracy in English, I want you to keep the reply neat, limiting the reply to 200 words. You can ask me questions in conversational manor if need, but asnwer the questions asked after understadning what is being asked."
19
 
20
 
21
  headers = {