Update app.py
Browse files
app.py
CHANGED
|
@@ -81,6 +81,7 @@ with gr.Blocks(css=".gradio-container {background-color: #b0cda8};") as demo:
|
|
| 81 |
<h3 style="text-align: left;"> This is a demo of Animal Pose ControlNet, which is a model trained on runwayml/stable-diffusion-v1-5 with a new type of conditioning.</h3>
|
| 82 |
<h3 style="text-align: left;"> While this is definitely a work in progress, you can still try it out by using the p5 sketch to create a keypoint image and using it as the conditioning image.</h3>
|
| 83 |
<h3 style="text-align: left;"> The model was generated as part of the Hugging Face Jax Diffusers sprint. Thank you to both Hugging Face and Google Cloud who provided the TPUs for training!
|
|
|
|
| 84 |
</h3>
|
| 85 |
""")
|
| 86 |
with gr.Row():
|
|
@@ -98,11 +99,12 @@ with gr.Blocks(css=".gradio-container {background-color: #b0cda8};") as demo:
|
|
| 98 |
)
|
| 99 |
gr.Markdown(
|
| 100 |
"""
|
| 101 |
-
|
| 102 |
-
[Dataset](https://huggingface.co/datasets/JFoz/dog-
|
| 103 |
-
[Diffusers model](https://huggingface.co/JFoz/dog-pose)
|
| 104 |
[WANDB Training Report](https://wandb.ai/john-fozard/dog-cat-pose/runs/kmwcvae5)
|
| 105 |
-
[
|
|
|
|
| 106 |
""")
|
| 107 |
|
| 108 |
run_btn.click(fn=infer, inputs = [prompts, negative_prompts, conditioning_image], outputs = output)
|
|
|
|
| 81 |
<h3 style="text-align: left;"> This is a demo of Animal Pose ControlNet, which is a model trained on runwayml/stable-diffusion-v1-5 with a new type of conditioning.</h3>
|
| 82 |
<h3 style="text-align: left;"> While this is definitely a work in progress, you can still try it out by using the p5 sketch to create a keypoint image and using it as the conditioning image.</h3>
|
| 83 |
<h3 style="text-align: left;"> The model was generated as part of the Hugging Face Jax Diffusers sprint. Thank you to both Hugging Face and Google Cloud who provided the TPUs for training!
|
| 84 |
+
<h3 style="text-align: left;"> The dataset was build using the OpenPifPaf Animalpose plugin.</h3>
|
| 85 |
</h3>
|
| 86 |
""")
|
| 87 |
with gr.Row():
|
|
|
|
| 99 |
)
|
| 100 |
gr.Markdown(
|
| 101 |
"""
|
| 102 |
+
[OpenPifPaf Animalpose](https://openpifpaf.github.io/plugins_animalpose.html).
|
| 103 |
+
[Dataset](https://huggingface.co/datasets/JFoz/dog-cat-pose)
|
| 104 |
+
[Diffusers model](https://huggingface.co/JFoz/dog-cat-pose)
|
| 105 |
[WANDB Training Report](https://wandb.ai/john-fozard/dog-cat-pose/runs/kmwcvae5)
|
| 106 |
+
[Training Scripts](https://github.com/fi4cr/animalpose/tree/main/scripts)
|
| 107 |
+
[p5.js](https://p5js.org)
|
| 108 |
""")
|
| 109 |
|
| 110 |
run_btn.click(fn=infer, inputs = [prompts, negative_prompts, conditioning_image], outputs = output)
|