kfahn commited on
Commit
f9183eb
1 Parent(s): 8118b09

Update app.py

Browse files

Seeing if image path was the problem

Files changed (1) hide show
  1. app.py +3 -1
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", "image_control.png"]]
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(