Update app.py
Browse filesSeeing if image path was the problem
app.py
CHANGED
@@ -71,9 +71,11 @@ 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 |
gr.Interface(fn = infer, inputs = ["text", "text", "image"], outputs = "gallery",
|
75 |
title = title, description = description, theme='gradio/soft',
|
76 |
-
examples=[["a Labrador crossing the road", "low quality",
|
77 |
).launch()
|
78 |
|
79 |
gr.Markdown(
|
|
|
71 |
#gr.Interface(fn = infer, inputs = ["text"], outputs = "image",
|
72 |
# title = title, description = description, theme='gradio/soft').launch()
|
73 |
|
74 |
+
control_image = "https://huggingface.co/spaces/kfahn/Animal_Pose_Control_Net/blob/main/image_control.png"
|
75 |
+
|
76 |
gr.Interface(fn = infer, inputs = ["text", "text", "image"], outputs = "gallery",
|
77 |
title = title, description = description, theme='gradio/soft',
|
78 |
+
examples=[["a Labrador crossing the road", "low quality", control_image]]
|
79 |
).launch()
|
80 |
|
81 |
gr.Markdown(
|