Spaces:
Running
on
Zero
Running
on
Zero
RageshAntony
commited on
fix :
Browse files- check_app.py +1 -1
check_app.py
CHANGED
@@ -189,7 +189,7 @@ def create_pipeline_logic(prompt_text, model_name):
|
|
189 |
pipe_signature = signature(b_pipe)
|
190 |
# Check for the presence of "callback_on_step_end" in the signature
|
191 |
has_callback_on_step_end = "callback_on_step_end" in pipe_signature.parameters
|
192 |
-
if not has_callback_on_step_end
|
193 |
pipe = ProgressPipeline(b_pipe)
|
194 |
print("ProgressPipeline specal")
|
195 |
else:
|
|
|
189 |
pipe_signature = signature(b_pipe)
|
190 |
# Check for the presence of "callback_on_step_end" in the signature
|
191 |
has_callback_on_step_end = "callback_on_step_end" in pipe_signature.parameters
|
192 |
+
if not has_callback_on_step_end:
|
193 |
pipe = ProgressPipeline(b_pipe)
|
194 |
print("ProgressPipeline specal")
|
195 |
else:
|