zhiweili commited on
Commit
07f352f
Β·
1 Parent(s): a385636

add recompile logs

Browse files
Files changed (1) hide show
  1. app_onediff.py +1 -0
app_onediff.py CHANGED
@@ -89,6 +89,7 @@ def create_demo() -> gr.Blocks:
89
  time_cost_str = ''
90
  run_task_time, time_cost_str = get_time_cost(run_task_time, time_cost_str)
91
  if id(compiled_pipe) == id(base_pipe):
 
92
  compiled_pipe = nexfort_compile(base_pipe)
93
  generated_image = compiled_pipe(
94
  prompt=prompt,
 
89
  time_cost_str = ''
90
  run_task_time, time_cost_str = get_time_cost(run_task_time, time_cost_str)
91
  if id(compiled_pipe) == id(base_pipe):
92
+ print("---------->Recompile<----------")
93
  compiled_pipe = nexfort_compile(base_pipe)
94
  generated_image = compiled_pipe(
95
  prompt=prompt,