Spaces:

Guide-and-Rescale / inference_pb2.pyi
WideMax's picture
Initial commit
80e7e8e
raw
history blame
1.05 kB
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from typing import ClassVar as _ClassVar, Optional as _Optional
DESCRIPTOR: _descriptor.FileDescriptor
class GuideAndRescaleRequest(_message.Message):
__slots__ = ("image", "source_prompt", "target_prompt", "config", "use_cache")
IMAGE_FIELD_NUMBER: _ClassVar[int]
SOURCE_PROMPT_FIELD_NUMBER: _ClassVar[int]
TARGET_PROMPT_FIELD_NUMBER: _ClassVar[int]
CONFIG_FIELD_NUMBER: _ClassVar[int]
USE_CACHE_FIELD_NUMBER: _ClassVar[int]
image: bytes
source_prompt: str
target_prompt: str
config: str
use_cache: bool
def __init__(self, image: _Optional[bytes] = ..., source_prompt: _Optional[str] = ..., target_prompt: _Optional[str] = ..., config: _Optional[str] = ..., use_cache: bool = ...) -> None: ...
class GuideAndRescaleResponse(_message.Message):
__slots__ = ("image",)
IMAGE_FIELD_NUMBER: _ClassVar[int]
image: bytes
def __init__(self, image: _Optional[bytes] = ...) -> None: ...