Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -210,6 +210,18 @@ def generate(
|
|
| 210 |
face_np, subject, add_prompt, add_neg, cfg, ip_scale, steps, w, h, upscale, up_factor,
|
| 211 |
progress=gr.Progress(track_tqdm=True),
|
| 212 |
):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 213 |
if face_np is None or face_np.size == 0:
|
| 214 |
raise gr.Error("ι‘η»εγγ’γγγγΌγγγ¦γγ γγγ")
|
| 215 |
|
|
|
|
| 210 |
face_np, subject, add_prompt, add_neg, cfg, ip_scale, steps, w, h, upscale, up_factor,
|
| 211 |
progress=gr.Progress(track_tqdm=True),
|
| 212 |
):
|
| 213 |
+
|
| 214 |
+
print("π γͺγ―γ¨γΉγεδΏ‘οΌ")
|
| 215 |
+
print("face_np shape:", getattr(face_np, "shape", "None"))
|
| 216 |
+
print("subject:", subject)
|
| 217 |
+
print("add_prompt:", add_prompt)
|
| 218 |
+
print("add_neg:", add_neg)
|
| 219 |
+
print("cfg:", cfg)
|
| 220 |
+
print("ip_scale:", ip_scale)
|
| 221 |
+
print("steps:", steps)
|
| 222 |
+
print("width x height:", w, "x", h)
|
| 223 |
+
print("upscale:", upscale, "Γ", up_factor)
|
| 224 |
+
|
| 225 |
if face_np is None or face_np.size == 0:
|
| 226 |
raise gr.Error("ι‘η»εγγ’γγγγΌγγγ¦γγ γγγ")
|
| 227 |
|