Update app_zero.py
Browse files- app_zero.py +0 -2
app_zero.py
CHANGED
@@ -29,7 +29,6 @@ huggingface_hub.hf_hub_download(
|
|
29 |
)
|
30 |
|
31 |
import sys; sys.path.append('./PASD')
|
32 |
-
import spaces
|
33 |
import os
|
34 |
import datetime
|
35 |
import einops
|
@@ -116,7 +115,6 @@ def resize_image(image_path, target_height):
|
|
116 |
#resized_img.save(output_path)
|
117 |
return resized_img
|
118 |
|
119 |
-
@spaces.CPU(enable_queue=True)
|
120 |
def inference(input_image, prompt, a_prompt, n_prompt, denoise_steps, upscale, alpha, cfg, seed):
|
121 |
|
122 |
#tempo fix for seed equals-1
|
|
|
29 |
)
|
30 |
|
31 |
import sys; sys.path.append('./PASD')
|
|
|
32 |
import os
|
33 |
import datetime
|
34 |
import einops
|
|
|
115 |
#resized_img.save(output_path)
|
116 |
return resized_img
|
117 |
|
|
|
118 |
def inference(input_image, prompt, a_prompt, n_prompt, denoise_steps, upscale, alpha, cfg, seed):
|
119 |
|
120 |
#tempo fix for seed equals-1
|