Vihang28 commited on
Commit
d2f6b78
·
verified ·
1 Parent(s): c155647

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -41,8 +41,7 @@ def api_calling(image, prompt, api_key):
41
  ]
42
  }
43
  ],
44
- "max_tokens": 500,
45
- "temperature": 0.9
46
  }
47
  response = requests.post("https://api.openai.com/v1/chat/completions", headers=headers, json=payload)
48
  img_preview = response.json()
 
41
  ]
42
  }
43
  ],
44
+ "max_tokens": 500
 
45
  }
46
  response = requests.post("https://api.openai.com/v1/chat/completions", headers=headers, json=payload)
47
  img_preview = response.json()