Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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
|
| 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
|
| 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
|
| 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 |
)
|