Skip to content

Commit cadaa28

Browse files
authored
Forgot to invert one of the conditions
1 parent 160b170 commit cadaa28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/llava/mtmd-cli.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ int main(int argc, char ** argv) {
302302
if (eval_message(ctx, msg, params.image, true)) {
303303
return 1;
304304
}
305-
if (g_is_interrupted && generate_response(ctx, smpl, n_predict)) {
305+
if (!g_is_interrupted && generate_response(ctx, smpl, n_predict)) {
306306
return 1;
307307
}
308308

0 commit comments

Comments
 (0)