Update app.py
Browse filesupdate font colors
app.py
CHANGED
@@ -75,14 +75,13 @@ def infer(prompts, negative_prompts, image):
|
|
75 |
with gr.Blocks(css=".gradio-container {background-image: linear-gradient(to bottom, #206dff 10%, #f8d0ab 90%)};") as demo:
|
76 |
gr.Markdown(
|
77 |
"""
|
78 |
-
<h1 style="text-align: center; font-size:
|
79 |
π Animal Pose Control Net π
|
80 |
</h1>
|
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 built using the OpenPifPaf Animalpose plugin.</h3>
|
85 |
-
</h3>
|
86 |
""")
|
87 |
with gr.Row():
|
88 |
with gr.Column():
|
@@ -99,12 +98,12 @@ with gr.Blocks(css=".gradio-container {background-image: linear-gradient(to bott
|
|
99 |
keypoint_tool = addp5sketch(sketch_url)
|
100 |
gr.Markdown(
|
101 |
"""
|
102 |
-
<h3 style="text-align: left;">Additional Information</h3>
|
103 |
-
<a style = "color: black; font-size: 20px" href="https://openpifpaf.github.io/plugins_animalpose.html">OpenPifPaf Animalpose</a>
|
104 |
-
<a style = "color: black; font-size: 20px" href="https://huggingface.co/datasets/JFoz/dog-cat-pose">Dataset</a>
|
105 |
-
<a style = "color: black; font-size: 20px" href="https://huggingface.co/JFoz/dog-cat-pose">Diffusers model</a>
|
106 |
-
<a style = "color: black; font-size: 20px" href="https://wandb.ai/john-fozard/dog-cat-pose/runs/kmwcvae5"> WANDB Training Report</a>
|
107 |
-
<a style = "color: black; font-size: 20px" href="https://github.com/fi4cr/animalpose/tree/main/scripts">Training Scripts</a>
|
108 |
<a style = "color: black; font-size: 20px" href="https://p5js.org">p5.js</a>
|
109 |
""")
|
110 |
|
|
|
75 |
with gr.Blocks(css=".gradio-container {background-image: linear-gradient(to bottom, #206dff 10%, #f8d0ab 90%)};") as demo:
|
76 |
gr.Markdown(
|
77 |
"""
|
78 |
+
<h1 style="text-align: center; font-size: 32px; color: white;">
|
79 |
π Animal Pose Control Net π
|
80 |
</h1>
|
81 |
+
<h3 style="text-align: left; font-size: 20px; color: white;"> 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; font-size: 20px; color: white;"> 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; font-size: 20px; color: white;"> 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; font-size: 20px; color: white;"> The dataset was built using the OpenPifPaf Animalpose plugin.</h3>
|
|
|
85 |
""")
|
86 |
with gr.Row():
|
87 |
with gr.Column():
|
|
|
98 |
keypoint_tool = addp5sketch(sketch_url)
|
99 |
gr.Markdown(
|
100 |
"""
|
101 |
+
<h3 style="text-align: left; font-size: 24px;">Additional Information</h3>
|
102 |
+
<a style = "color: black; font-size: 20px" href="https://openpifpaf.github.io/plugins_animalpose.html">OpenPifPaf Animalpose</a></br>
|
103 |
+
<a style = "color: black; font-size: 20px" href="https://huggingface.co/datasets/JFoz/dog-cat-pose">Dataset</a></br>
|
104 |
+
<a style = "color: black; font-size: 20px" href="https://huggingface.co/JFoz/dog-cat-pose">Diffusers model</a></br>
|
105 |
+
<a style = "color: black; font-size: 20px" href="https://wandb.ai/john-fozard/dog-cat-pose/runs/kmwcvae5"> WANDB Training Report</a></br>
|
106 |
+
<a style = "color: black; font-size: 20px" href="https://github.com/fi4cr/animalpose/tree/main/scripts">Training Scripts</a></br>
|
107 |
<a style = "color: black; font-size: 20px" href="https://p5js.org">p5.js</a>
|
108 |
""")
|
109 |
|