Spaces:
Runtime error
Runtime error
Update app.py
Browse filesAdd custom theme
app.py
CHANGED
|
@@ -57,10 +57,10 @@ def infer(prompts, negative_prompts, image):
|
|
| 57 |
output_images = pipe.numpy_to_pil(np.asarray(output.reshape((num_samples,) + output.shape[-3:])))
|
| 58 |
return output_images
|
| 59 |
|
| 60 |
-
|
| 61 |
#control_image = "https://huggingface.co/spaces/kfahn/Animal_Pose_Control_Net/blob/main/image_control.png"
|
| 62 |
|
| 63 |
-
with gr.Blocks(
|
| 64 |
gr.Markdown(
|
| 65 |
"""
|
| 66 |
# Animal Pose Control Net
|
|
|
|
| 57 |
output_images = pipe.numpy_to_pil(np.asarray(output.reshape((num_samples,) + output.shape[-3:])))
|
| 58 |
return output_images
|
| 59 |
|
| 60 |
+
|
| 61 |
#control_image = "https://huggingface.co/spaces/kfahn/Animal_Pose_Control_Net/blob/main/image_control.png"
|
| 62 |
|
| 63 |
+
with gr.Blocks(theme='kfahn/AnimalPose') as demo:
|
| 64 |
gr.Markdown(
|
| 65 |
"""
|
| 66 |
# Animal Pose Control Net
|