pablo commited on
Commit
5a3fffc
·
1 Parent(s): ed959cc

no examples

Browse files
Files changed (1) hide show
  1. app.py +0 -20
app.py CHANGED
@@ -175,23 +175,6 @@ def create_vis_demo():
175
  prompt.submit(fn=predict_images, inputs=[image, depth, prompt, negative_prompt, guidance_scale, steps, strength, scheduler], outputs=[image_out, depth_out, share_btn_container])
176
  share_button.click(None, [], [], _js=share_js)
177
 
178
- gr.Examples(
179
- examples=[
180
- ["./imgs/aaa (8).png"],
181
- ["./imgs/download (1).jpeg"],
182
- ["./imgs/0_oE0mLhfhtS_3Nfm2.png"],
183
- ["./imgs/02_HubertyBlog-1-1024x1024.jpg"],
184
- ["./imgs/jdn_jacques_de_nuce-1024x1024.jpg"],
185
- ["./imgs/c4ca473acde04280d44128ad8ee09e8a.jpg"],
186
- ["./imgs/canam-electric-motorcycles-scaled.jpg"],
187
- ["./imgs/e8717ce80b394d1b9a610d04a1decd3a.jpeg"],
188
- ["./imgs/Nature___Mountains_Big_Mountain_018453_31.jpg"],
189
- ["./imgs/Multible-sharing-room_ccexpress-2-1024x1024.jpeg"],
190
- ],
191
- fn=predict_images,
192
- inputs=[image],
193
- cache_examples=False,
194
- )
195
 
196
 
197
  def predict_images_3d(dict, depth, prompt="", negative_prompt="", guidance_scale=7.5, steps=20, strength=1.0, scheduler="EulerDiscreteScheduler", keep_edges=False):
@@ -269,9 +252,6 @@ def create_3d_demo():
269
 
270
  submit = gr.Button("Submit")
271
  submit.click(fn=predict_images_3d, inputs=[image, depth, prompt, negative_prompt, guidance_scale, steps, strength, scheduler, checkbox], outputs=[result_og, result_new, share_btn_container], api_name='run')
272
- examples = gr.Examples(examples=["examples/aerial_beach.jpeg", "examples/mountains.jpeg", "examples/person_1.jpeg", "examples/ancient-carved.jpeg"],
273
- inputs=[image])
274
-
275
 
276
 
277
  with image_blocks as demo:
 
175
  prompt.submit(fn=predict_images, inputs=[image, depth, prompt, negative_prompt, guidance_scale, steps, strength, scheduler], outputs=[image_out, depth_out, share_btn_container])
176
  share_button.click(None, [], [], _js=share_js)
177
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
178
 
179
 
180
  def predict_images_3d(dict, depth, prompt="", negative_prompt="", guidance_scale=7.5, steps=20, strength=1.0, scheduler="EulerDiscreteScheduler", keep_edges=False):
 
252
 
253
  submit = gr.Button("Submit")
254
  submit.click(fn=predict_images_3d, inputs=[image, depth, prompt, negative_prompt, guidance_scale, steps, strength, scheduler, checkbox], outputs=[result_og, result_new, share_btn_container], api_name='run')
 
 
 
255
 
256
 
257
  with image_blocks as demo: