File size: 486 Bytes
ae1d0b9
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import os

from src.tools import use_vision_model

# Test question with a valid image path (make sure the image file exists)
question = "Review the chess position provided in the image. It is black's turn. Provide the correct next move for black which guarantees a win. Please provide your response in algebraic notation. test.png"

# Run the function (assuming your model and required environment are set up)
response = use_vision_model(question)

# Print the response
print(response)