Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -69,7 +69,7 @@ def stream_chat(input_image: Image.Image, vlm_prompt):
|
|
| 69 |
# Preprocess image
|
| 70 |
image = clip_processor(images=input_image, return_tensors='pt').pixel_values
|
| 71 |
image = image.to('cuda')
|
| 72 |
-
|
| 73 |
# Tokenize the prompt
|
| 74 |
if not vlm_prompt:
|
| 75 |
vlm_prompt = VLM_PROMPT
|
|
|
|
| 69 |
# Preprocess image
|
| 70 |
image = clip_processor(images=input_image, return_tensors='pt').pixel_values
|
| 71 |
image = image.to('cuda')
|
| 72 |
+
|
| 73 |
# Tokenize the prompt
|
| 74 |
if not vlm_prompt:
|
| 75 |
vlm_prompt = VLM_PROMPT
|