kfahn commited on
Commit
ce71c29
1 Parent(s): 49e8691

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -83,11 +83,11 @@ with gr.Blocks(theme='kfahn/AnimalPose') as demo:
83
  #keypoint_tool = addp5sketch(sketch_url)
84
  keypoint_tool = gr.HTML(lines)
85
  submit_btn = gr.Button(value="Submit")
86
- submit_btn.click(fn=infer, inputs = ["text", "text", "image"], outputs = "gallery",
87
  examples=[["a Labrador crossing the road", "low quality", "myimage.jpg"]])
88
 
89
  #gr.Interface(fn=infer, inputs = [prompts, negative_prompts, conditioning_image], outputs = "gallery",
90
- examples=[["a Labrador crossing the road", "low quality", "myimage.jpg"]])
91
 
92
  with gr.Row():
93
  report = wandb_report(report_url)
 
83
  #keypoint_tool = addp5sketch(sketch_url)
84
  keypoint_tool = gr.HTML(lines)
85
  submit_btn = gr.Button(value="Submit")
86
+ submit_btn.click(fn=infer, inputs = [prompts, negative_prompts, conditioning_image], outputs = "gallery",
87
  examples=[["a Labrador crossing the road", "low quality", "myimage.jpg"]])
88
 
89
  #gr.Interface(fn=infer, inputs = [prompts, negative_prompts, conditioning_image], outputs = "gallery",
90
+ #examples=[["a Labrador crossing the road", "low quality", "myimage.jpg"]])
91
 
92
  with gr.Row():
93
  report = wandb_report(report_url)