mirror of
https://github.com/deepseek-ai/DeepSeek-VL2
synced 2025-01-22 12:25:32 +00:00
now explicitly resetting state (is this needed?)
This commit is contained in:
parent
c59bfe3164
commit
622c090548
@ -95,6 +95,9 @@ for i in range(startAt, len(files)):
|
||||
else:
|
||||
imageFile = handle_file(image_path)
|
||||
|
||||
# Reset state
|
||||
result = client.predict(api_name="/reset_state" )
|
||||
|
||||
# Send the image file path and the prompt to the Gradio app for processing
|
||||
result = client.predict(
|
||||
input_images=[imageFile], # Provide the file path directly
|
||||
|
Loading…
Reference in New Issue
Block a user