Spaces:
Runtime error
Runtime error
Update pose_app.py
Browse files- pose_app.py +2 -1
pose_app.py
CHANGED
@@ -59,7 +59,8 @@ def process_dwpose_condition(image, res=1024):
|
|
59 |
return Image.fromarray(result)
|
60 |
|
61 |
MAX_SEED = np.iinfo(np.int32).max
|
62 |
-
MAX_IMAGE_SIZE = 1024
|
|
|
63 |
|
64 |
def infer_pose(prompt,
|
65 |
image=None,
|
|
|
59 |
return Image.fromarray(result)
|
60 |
|
61 |
MAX_SEED = np.iinfo(np.int32).max
|
62 |
+
#MAX_IMAGE_SIZE = 1024
|
63 |
+
MAX_IMAGE_SIZE = 512
|
64 |
|
65 |
def infer_pose(prompt,
|
66 |
image=None,
|