Update app.py
Browse files
app.py
CHANGED
|
@@ -52,6 +52,14 @@ def infer(prompt):
|
|
| 52 |
|
| 53 |
#gr.Interface(infer, inputs=["text", "text", "image"], outputs="gallery").launch()
|
| 54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
title = "Animal Pose Control Net"
|
| 56 |
description = "This is a demo of Animal Pose ControlNet, which is a model trained on runwayml/stable-diffusion-v1-5 with new type of conditioning."
|
| 57 |
|
|
@@ -71,6 +79,10 @@ description = "This is a demo of Animal Pose ControlNet, which is a model traine
|
|
| 71 |
gr.Interface(fn = infer, inputs = ["text"], outputs = "image",
|
| 72 |
title = title, description = description, theme='gradio/soft').launch()
|
| 73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
gr.Markdown(
|
| 76 |
"""
|
|
|
|
| 52 |
|
| 53 |
#gr.Interface(infer, inputs=["text", "text", "image"], outputs="gallery").launch()
|
| 54 |
|
| 55 |
+
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
|
| 63 |
title = "Animal Pose Control Net"
|
| 64 |
description = "This is a demo of Animal Pose ControlNet, which is a model trained on runwayml/stable-diffusion-v1-5 with new type of conditioning."
|
| 65 |
|
|
|
|
| 79 |
gr.Interface(fn = infer, inputs = ["text"], outputs = "image",
|
| 80 |
title = title, description = description, theme='gradio/soft').launch()
|
| 81 |
|
| 82 |
+
#gr.Interface(fn = infer, inputs = ["text", "text", "image"], outputs = "gallery",
|
| 83 |
+
# title = title, description = description, theme='gradio/soft',
|
| 84 |
+
# examples=[["a Labrador crossing the road", "low quality", "pose_256.jpg"]]
|
| 85 |
+
#).launch()
|
| 86 |
|
| 87 |
gr.Markdown(
|
| 88 |
"""
|