evalstate HF Staff commited on
Commit
5e0126c
·
verified ·
1 Parent(s): c175c4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -216,10 +216,10 @@ def infer_camera_edit(
216
  Number of inference steps. Defaults to 4.
217
  height (int, optional):
218
  Output image height. Must typically be a multiple of 8.
219
- If set to 0, the model will infer a size. Defaults to 1024 if none is provided.
220
  width (int, optional):
221
  Output image width. Must typically be a multiple of 8.
222
- If set to 0, the model will infer a size. Defaults to 1024 if none is provided.
223
 
224
  Returns:
225
  Tuple[PIL.Image.Image, int, str]:
@@ -506,7 +506,7 @@ with gr.Blocks() as demo:
506
  inputs = [
507
  image, rotate_deg, move_forward,
508
  vertical_tilt, wideangle,
509
- seed, randomize_seed, true_guidance_scale, num_inference_steps, height, width, prev_output
510
  ],
511
  outputs=[result,seed,prompt_preview]
512
  )
 
216
  Number of inference steps. Defaults to 4.
217
  height (int, optional):
218
  Output image height. Must typically be a multiple of 8.
219
+ If set to 0, the model will infer a size. Defaults to 0 if none is provided.
220
  width (int, optional):
221
  Output image width. Must typically be a multiple of 8.
222
+ If set to 0, the model will infer a size. Defaults to 0 if none is provided.
223
 
224
  Returns:
225
  Tuple[PIL.Image.Image, int, str]:
 
506
  inputs = [
507
  image, rotate_deg, move_forward,
508
  vertical_tilt, wideangle,
509
+ seed, randomize_seed, true_guidance_scale, num_inference_steps, height, width
510
  ],
511
  outputs=[result,seed,prompt_preview]
512
  )