Skip to content

AttributeError: 'Row' object has no attribute 'style' #50

@ranformer

Description

@ranformer

Error:

Traceback (most recent call last):
  File "/freeu/demo/app.py", line 140, in <module>
    with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
AttributeError: 'Row' object has no attribute 'style'

My env:

accelerate               0.26.0
aiofiles                 23.2.1
aiohttp                  3.9.1
aiosignal                1.3.1
annotated-types          0.7.0
anyio                    4.6.2.post1
async-timeout            4.0.3
attrs                    23.2.0
certifi                  2023.11.17
charset-normalizer       3.3.2
click                    8.1.7
contourpy                1.2.0
cycler                   0.12.1
datasets                 2.16.1
diffusers                0.26.0.dev0  /home/HCM/Accelerator-Simple-Template-depth_est_diff/diffusers
dill                     0.3.7
exceptiongroup           1.2.2
fastapi                  0.115.2
ffmpy                    0.4.0
filelock                 3.13.1
fonttools                4.47.0
frozenlist               1.4.1
fsspec                   2023.10.0
gradio                   5.1.0
gradio_client            1.4.0
h11                      0.14.0
httpcore                 1.0.6
httpx                    0.27.2
huggingface-hub          0.25.2
idna                     3.6
imageio                  2.33.1
importlib-metadata       7.0.1
Jinja2                   3.1.3
kiwisolver               1.4.5
lazy_loader              0.3
markdown-it-py           3.0.0
MarkupSafe               2.1.4
matplotlib               3.8.2
mdurl                    0.1.2
mpmath                   1.3.0
multidict                6.0.4
multiprocess             0.70.15
munkres                  1.1.4
networkx                 3.2.1
numpy                    1.26.3
nvidia-cublas-cu12       12.1.3.1
nvidia-cuda-cupti-cu12   12.1.105
nvidia-cuda-nvrtc-cu12   12.1.105
nvidia-cuda-runtime-cu12 12.1.105
nvidia-cudnn-cu12        8.9.2.26
nvidia-cufft-cu12        11.0.2.54
nvidia-curand-cu12       10.3.2.106
nvidia-cusolver-cu12     11.4.5.107
nvidia-cusparse-cu12     12.1.0.106
nvidia-nccl-cu12         2.18.1
nvidia-nvjitlink-cu12    12.3.101
nvidia-nvtx-cu12         12.1.105
opencv-python            4.9.0.80
orjson                   3.10.7
packaging                23.2
pandas                   2.2.0
pillow                   10.2.0
pip                      23.3.2
ply                      3.11
psutil                   5.9.7
pyarrow                  15.0.0
pyarrow-hotfix           0.6
pydantic                 2.9.2
pydantic_core            2.23.4
pydub                    0.25.1
Pygments                 2.18.0
pyparsing                3.1.1
PyQt5                    5.15.9
PyQt5-sip                12.12.2
python-dateutil          2.8.2
python-multipart         0.0.12
pytz                     2023.3.post1
PyYAML                   6.0.1
regex                    2023.12.25
requests                 2.31.0
rich                     13.9.2
ruff                     0.6.9
safetensors              0.4.1
scikit-image             0.22.0
scipy                    1.11.4
semantic-version         2.10.0
setuptools               69.0.3
shellingham              1.5.4
sip                      6.7.12
six                      1.16.0
sniffio                  1.3.1
starlette                0.40.0
sympy                    1.12
tifffile                 2023.12.9
tokenizers               0.15.0
toml                     0.10.2
tomli                    2.0.1
tomlkit                  0.12.0
torch                    1.12.1+cu102
torchaudio               0.12.1+cu102
torchvision              0.13.1+cu102
tornado                  6.3.3
tqdm                     4.66.1
transformers             4.36.2
triton                   2.1.0
typer                    0.12.5
typing_extensions        4.9.0
tzdata                   2023.4
unicodedata2             15.1.0
urllib3                  2.1.0
uvicorn                  0.31.1
websockets               12.0
wheel                    0.42.0
xformers                 0.0.16
xxhash                   3.4.1
yarl                     1.9.4
zipp                     3.17.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions