kfahn commited on
Commit
bd9a3cd
1 Parent(s): 2e09612

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -83,8 +83,8 @@ with gr.Blocks(theme='kfahn/AnimalPose') as demo:
83
  #keypoint_tool = addp5sketch(sketch_url)
84
  keypoint_tool = gr.HTML(lines)
85
 
86
- submit_btn = gr.Button("Submit")
87
- submit_btn.click(fn=infer, inputs = ["text", "text", "image"], outputs = "gallery")
88
  #examples=[["a Labrador crossing the road", "low quality", "myimage.jpg"]])
89
 
90
  #gr.Examples(
@@ -98,8 +98,9 @@ with gr.Blocks(theme='kfahn/AnimalPose') as demo:
98
  #fn=infer,
99
  #cache_examples=True,
100
  )
101
- #gr.Interface(fn=infer, inputs = [prompts, negative_prompts, conditioning_image], outputs = "gallery",
102
- #examples=[["a Labrador crossing the road", "low quality", "myimage.jpg"]])
 
103
 
104
  #with gr.Row():
105
  # report = wandb_report(report_url)
 
83
  #keypoint_tool = addp5sketch(sketch_url)
84
  keypoint_tool = gr.HTML(lines)
85
 
86
+ #submit_btn = gr.Button("Submit")
87
+ #submit_btn.click(fn=infer, inputs = ["text", "text", "image"], outputs = "gallery")
88
  #examples=[["a Labrador crossing the road", "low quality", "myimage.jpg"]])
89
 
90
  #gr.Examples(
 
98
  #fn=infer,
99
  #cache_examples=True,
100
  )
101
+
102
+ gr.Interface(fn=infer, inputs = [prompts, negative_prompts, conditioning_image], outputs = "gallery",
103
+ examples=[["a Labrador crossing the road", "low quality", "myimage.jpg"]])
104
 
105
  #with gr.Row():
106
  # report = wandb_report(report_url)