mirror of
https://github.com/deepseek-ai/DeepSeek-VL2.git
synced 2025-02-23 06:09:04 -05: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:
|
else:
|
||||||
imageFile = handle_file(image_path)
|
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
|
# Send the image file path and the prompt to the Gradio app for processing
|
||||||
result = client.predict(
|
result = client.predict(
|
||||||
input_images=[imageFile], # Provide the file path directly
|
input_images=[imageFile], # Provide the file path directly
|
||||||
|
Loading…
Reference in New Issue
Block a user