Skip to content

Commit f18b627

Browse files
author
anyshu
committed
fix bugs
1 parent e6f8328 commit f18b627

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/server/server-diffusion.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4063,7 +4063,6 @@ struct server_context {
40634063
(int32_t)prompt_text_tokens.size(),
40644064
&slot,
40654065
this,
4066-
"",
40674066
last_tokens_buffer.data()
40684067
};
40694068
diff_params.step_callback = diffusion_step_callback;
@@ -5641,7 +5640,7 @@ int main(int argc, char ** argv) {
56415640
files);
56425641

56435642
// Check if this is a diffusion request by looking for diffusion-specific parameters
5644-
bool is_diffusion = llama_model_is_diffusion(ctx_server.model)
5643+
bool is_diffusion = llama_model_is_diffusion(ctx_server.model);
56455644

56465645
server_task_type task_type = is_diffusion ? SERVER_TASK_TYPE_DIFFUSION : SERVER_TASK_TYPE_COMPLETION;
56475646

0 commit comments

Comments
 (0)