Update app.py
Browse files
app.py
CHANGED
@@ -144,11 +144,11 @@ def process_image(enable_enhancement, weight_slider):
|
|
144 |
tokenizer_2=pipe.tokenizer_2,
|
145 |
torch_dtype=dtype
|
146 |
)
|
147 |
-
|
|
|
148 |
MAX_SEED = 2**32 - 1
|
149 |
|
150 |
pipe.flux_pipe_call_that_returns_an_iterable_of_images = flux_pipe_call_that_returns_an_iterable_of_images.__get__(pipe)
|
151 |
-
return "Pipeline updated with the selected enhancement model and weight."
|
152 |
|
153 |
class calculateDuration:
|
154 |
def __init__(self, activity_name=""):
|
|
|
144 |
tokenizer_2=pipe.tokenizer_2,
|
145 |
torch_dtype=dtype
|
146 |
)
|
147 |
+
return "Pipeline updated with the selected enhancement model and weight."
|
148 |
+
|
149 |
MAX_SEED = 2**32 - 1
|
150 |
|
151 |
pipe.flux_pipe_call_that_returns_an_iterable_of_images = flux_pipe_call_that_returns_an_iterable_of_images.__get__(pipe)
|
|
|
152 |
|
153 |
class calculateDuration:
|
154 |
def __init__(self, activity_name=""):
|