Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -123,7 +123,7 @@ slack = Slack()
|
|
| 123 |
|
| 124 |
|
| 125 |
# @update_db
|
| 126 |
-
@auto_clear_cuda_and_gc(controlnet)
|
| 127 |
@slack.auto_send_alert
|
| 128 |
def text2img(task: Task, text2img_pipe ):
|
| 129 |
prompt, ori_prompt = get_patched_prompt(task)
|
|
|
|
| 123 |
|
| 124 |
|
| 125 |
# @update_db
|
| 126 |
+
# @auto_clear_cuda_and_gc(controlnet)
|
| 127 |
@slack.auto_send_alert
|
| 128 |
def text2img(task: Task, text2img_pipe ):
|
| 129 |
prompt, ori_prompt = get_patched_prompt(task)
|