kfahn commited on
Commit
2abef1d
1 Parent(s): 6303c40

Update app.py

Browse files

try eliminating the examples again

Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -87,16 +87,16 @@ with gr.Blocks(theme='kfahn/AnimalPose') as demo:
87
  submit_btn.click(fn=infer, inputs = [prompts, negative_prompts, conditioning_image], outputs = "gallery")
88
  #examples=[["a Labrador crossing the road", "low quality", "myimage.jpg"]])
89
 
90
- gr.Examples(
91
- examples=[
92
- ["a Labrador crossing the road", "low quality", "myimage.jpg"]
93
- ],
94
- inputs=[
95
- prompt, negative_prompt, conditioning_image
96
- ],
97
- outputs=output,
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"]])
 
87
  submit_btn.click(fn=infer, inputs = [prompts, negative_prompts, conditioning_image], outputs = "gallery")
88
  #examples=[["a Labrador crossing the road", "low quality", "myimage.jpg"]])
89
 
90
+ #gr.Examples(
91
+ #examples=[
92
+ # ["a Labrador crossing the road", "low quality", "myimage.jpg"]
93
+ #],
94
+ #inputs=[
95
+ # prompt, negative_prompt, conditioning_image
96
+ #],
97
+ #outputs=output,
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"]])