capjamesg commited on
Commit
025f810
1 Parent(s): 8db0533

add space code

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -16,7 +16,8 @@ Visit [awesome-openai-vision-api-experiments](https://github.com/roboflow/awesom
16
  repository to find more OpenAI Vision API experiments or contribute your own."""
17
 
18
  def respond(api_key, input_image, dino_prompt, gpt_prompt):
19
- input_image = cv2.cvtColor(input_image, cv2.COLOR_BGR2RGB)
 
20
 
21
  DINOGPT = CustomDetectionModel(
22
  detection_model=GroundedSAM(CaptionOntology(
 
16
  repository to find more OpenAI Vision API experiments or contribute your own."""
17
 
18
  def respond(api_key, input_image, dino_prompt, gpt_prompt):
19
+ # input_image = cv2.cvtColor(input_image, cv2.COLOR_BGR2RGB)
20
+ cv2.imwrite("input.jpg", input_image)
21
 
22
  DINOGPT = CustomDetectionModel(
23
  detection_model=GroundedSAM(CaptionOntology(