Skip to content

unable to visualize the rerun web viewer #34

@JayKarhade

Description

@JayKarhade

I was trying to run the default gradio demo - demo/app.py, however, the gradio demo gets stuck at loading and the console displays this issue:

(gradio_any4d_venv) (mapanything) [jkarhade@w002 gradio-rerun-viewer]$ grep -R "SvelteComponent" -n $(python -c "import gradio_rerun, os; print(os.path.dirname(gradio_rerun.__file__))")

/ocean/projects/cis220039p/mdt2/jkarhade/Any4D/scripts/gradio_any4d_venv/lib/python3.12/site-packages/gradio_rerun/templates/example/index.js:2:  SvelteComponent: g,
/ocean/projects/cis220039p/mdt2/jkarhade/Any4D/scripts/gradio_any4d_venv/lib/python3.12/site-packages/gradio_rerun/templates/component/index.js:494:  SvelteComponent: Co,
/ocean/projects/cis220039p/mdt2/jkarhade/Any4D/scripts/gradio_any4d_venv/lib/python3.12/site-packages/gradio_rerun/templates/component/index.js:13509:  SvelteComponent: _N,
/ocean/projects/cis220039p/mdt2/jkarhade/Any4D/scripts/gradio_any4d_venv/lib/python3.12/site-packages/gradio_rerun/templates/component/index.js:13834:  SvelteComponent: iM,
/ocean/projects/cis220039p/mdt2/jkarhade/Any4D/scripts/gradio_any4d_venv/lib/python3.12/site-packages/gradio_rerun/templates/component/index.js:14291:  SvelteComponent: ZM,
/ocean/projects/cis220039p/mdt2/jkarhade/Any4D/scripts/gradio_any4d_venv/lib/python3.12/site-packages/gradio_rerun/templates/component/index.js:14371:  SvelteComponent: WM,
/ocean/projects/cis220039p/mdt2/jkarhade/Any4D/scripts/gradio_any4d_venv/lib/python3.12/site-packages/gradio_rerun/templates/component/index.js:15905:  SvelteComponent: ZY,
/ocean/projects/cis220039p/mdt2/jkarhade/Any4D/scripts/gradio_any4d_venv/lib/python3.12/site-packages/gradio_rerun/templates/component/index.js:16006:  SvelteComponent: sY,
(gradio_any4d_venv) (mapanything) [jkarhade@w002 gradio-rerun-viewer]$ 
(gradio_any4d_venv) (mapanything) [jkarhade@w002 gradio-rerun-viewer]$ 

My environment is:

(gradio_any4d_venv) (mapanything) [jkarhade@w002 gradio-rerun-viewer]$ pip show gradio gradio-rerun 
Name: gradio
Version: 6.0.2
Summary: Python library for easily interacting with trained machine learning models
Home-page: https://github.com/gradio-app/gradio
Author: 
Author-email: Abubakar Abid <[email protected]>, Ali Abid <[email protected]>, Ali Abdalla <[email protected]>, Dawood Khan <[email protected]>, Ahsen Khaliq <[email protected]>, Pete Allen <[email protected]>, Ömer Faruk Özdemir <[email protected]>, Freddy A Boulton <[email protected]>, Hannah Blair <[email protected]>
License-Expression: Apache-2.0
Location: /ocean/projects/cis220039p/mdt2/jkarhade/Any4D/scripts/gradio_any4d_venv/lib/python3.12/site-packages
Requires: aiofiles, anyio, brotli, fastapi, ffmpy, gradio-client, groovy, httpx, huggingface-hub, jinja2, markupsafe, numpy, orjson, packaging, pandas, pillow, pydantic, pydub, python-multipart, pyyaml, safehttpx, semantic-version, starlette, tomlkit, typer, typing-extensions, uvicorn
Required-by: dust3r, gradio_rerun, spaces
---
Name: gradio_rerun
Version: 0.25.1
Summary: Rerun viewer with Gradio
Home-page: 
Author: 
Author-email: Radamés Ajna <[email protected]>, "rerun.io" <[email protected]>
License: MIT OR Apache-2.0
Location: /ocean/projects/cis220039p/mdt2/jkarhade/Any4D/scripts/gradio_any4d_venv/lib/python3.12/site-packages
Requires: gradio, opencv-python, rerun-sdk, twine
Required-by: 
(gradio_any4d_venv) (mapanything) [jkarhade@w002 gradio-rerun-viewer]$ 

I tried downgrading the gradio version but that opens up a bunch of other issues. Any help on the exact environment configs would be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions