Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -233,7 +233,7 @@ def compute_image_state(image):
|
|
233 |
(image_features.shape[-1],),
|
234 |
weight=ln0_weight,
|
235 |
bias=ln0_bias)
|
236 |
-
_, image_state =
|
237 |
image_cache[base64_image] = image_state
|
238 |
return image_state
|
239 |
|
|
|
233 |
(image_features.shape[-1],),
|
234 |
weight=ln0_weight,
|
235 |
bias=ln0_bias)
|
236 |
+
_, image_state = visual_rwkv.forward(embs=image_features, state=None)
|
237 |
image_cache[base64_image] = image_state
|
238 |
return image_state
|
239 |
|