Skip to content

Issue with "Internal Server Error" when starting the webapp #5

@skygoo2000

Description

@skygoo2000

Hello, @paulguerrero

Thank you for your excellent work on the DiffusionHandles project!

I have set up a Conda environment following the documentation, and I attempted to run the webapp using the following command:

source start_webapps_in_tmux.sh /demo

However, during startup, I encountered the following traceback error:

Traceback (most recent call last):
  File "/aifs4su/DiffusionHandles/webapp/webapps/diffhandles_pipeline_webapp.py", line 962, in <module>
    server = DiffhandlesPipelineWebapp(
  File "/aifs4su/DiffusionHandles/webapp/webapps/diffhandles_pipeline_webapp.py", line 44, in __init__
    self.text2img_client = gradio_client.Client(text2img_url, download_files=True)
  File "/home/miniconda3/envs/diffusionhandles/lib/python3.9/site-packages/gradio_client/client.py", line 171, in __init__
    self._info = self._get_api_info()
  File "/home/miniconda3/envs/diffusionhandles/lib/python3.9/site-packages/gradio_client/client.py", line 566, in _get_api_info
    raise ValueError(f"Could not fetch api info for {self.src}: {r.text}")
ValueError: Could not fetch api info for http://localhost:8893/data/text2img/: Internal Server Error

Could you please advise on what might be causing this error? Could it be related to environment configuration, port conflicts, or other dependency issues?

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