Skip to content

Commit

Permalink
fix param order for numpy code path
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Apr 28, 2023
1 parent c6fc860 commit eef85aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/onnx_web/diffusers/pipelines/panorama.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# limitations under the License.

import inspect
from logging import getLogger
from typing import Callable, List, Optional, Union

import PIL
Expand Down Expand Up @@ -517,8 +516,8 @@ def text2img(

def img2img(
self,
image: Union[np.ndarray, PIL.Image.Image] = None,
prompt: Union[str, List[str]] = None,
image: Union[np.ndarray, PIL.Image.Image] = None,
strength: float = 0.8,
num_inference_steps: Optional[int] = 50,
guidance_scale: Optional[float] = 7.5,
Expand Down

0 comments on commit eef85aa

Please sign in to comment.