Skip to content

Error running gradio demo #9

@prachigarg23

Description

@prachigarg23

Hi @hhhhzp @leexinhao ,

Thanks for your really cool work. I am running into the following bug when running the bash gradio_demo.sh script. I modified the model_name in internvl/serve/app.py to "MCG-NJU/VideoChatOnline-4B" so HF can automatically download it and made demo.launch(share=True) for running on remote server.

path to miniconda3/envs/videochat_online/lib/python3.9/site-packages/gradio/blocks.py", line 2785, in get_api_info
    python_type = client_utils.json_schema_to_python_type(info)

path to miniconda3/envs/videochat_online/lib/python3.9/site-packages/gradio_client/utils.py", line 895, in json_schema_to_python_type
    type_ = _json_schema_to_python_type(schema, schema.get("$defs"))

path to miniconda3/envs/videochat_online/lib/python3.9/site-packages/gradio_client/utils.py", line 903, in _json_schema_to_python_type
    type_ = get_type(schema)

File "path to miniconda3/envs/videochat_online/lib/python3.9/site-packages/gradio_client/utils.py", line 864, in get_type
    exit()
  File "path to /miniconda3/envs/videochat_online/lib/python3.9/_sitebuiltins.py", line 26, in __call__
    raise SystemExit(code)
SystemExit: None
Running on public URL: https://b4b598959c0de5fc41.gradio.live

Even the gradio demo link doesn't work.

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