Skip to content

Error while launching app container in Docker #52

@khailegagnant

Description

@khailegagnant

Hi, I'm having this issue, seems to be gradio problem, couldn't locate the stable version of the project that was free from this problem

2025-10-23 08:25:48.688 | /app/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py:2249: UnsupportedFieldAttributeWarning: The 'default' attribute with value None was provided to the Field() function, which has no effect in the context it was used. 'default' is field-specific metadata, and can only be attached to a model field using Annotated metadata or by assignment. This may have happened because an Annotated type alias using the type statement was used, or if the Field() function was attached to a single member of a union type.
2025-10-23 08:25:48.688 | warnings.warn(
2025-10-23 08:26:09.195 | /app/src/synthetic_dataset_generator/constants.py:132: UserWarning: ARGILLA_API_URL or ARGILLA_API_KEY is not set or is empty
2025-10-23 08:26:09.195 | warnings.warn("ARGILLA_API_URL or ARGILLA_API_KEY is not set or is empty")
2025-10-23 08:26:09.202 | /app/src/synthetic_dataset_generator/pipelines/base.py:131: UserWarning: A custom validator is returning a value other than self.
2025-10-23 08:26:09.202 | Returning anything other than self from a top level model validator isn't supported when validating via __init__.
2025-10-23 08:26:09.202 | See the model_validator docs (https://docs.pydantic.dev/latest/concepts/validators/#model-validators) for more details.
2025-10-23 08:26:09.202 | llm = OllamaLLM(
2025-10-23 08:27:08.343 | [nltk_data] Downloading package punkt_tab to ./nltk_data...
2025-10-23 08:27:09.072 | [nltk_data] Unzipping tokenizers/punkt_tab.zip.
2025-10-23 08:27:09.173 | [nltk_data] Downloading package averaged_perceptron_tagger_eng to
2025-10-23 08:27:09.173 | [nltk_data] ./nltk_data...
2025-10-23 08:27:09.770 | [nltk_data] Unzipping taggers/averaged_perceptron_tagger_eng.zip.
2025-10-23 08:27:11.316 | /app/src/synthetic_dataset_generator/pipelines/base.py:131: UserWarning: A custom validator is returning a value other than self.
2025-10-23 08:27:11.316 | Returning anything other than self from a top level model validator isn't supported when validating via __init__.
2025-10-23 08:27:11.316 | See the model_validator docs (https://docs.pydantic.dev/latest/concepts/validators/#model-validators) for more details.
2025-10-23 08:27:11.316 | llm = OllamaLLM(
2025-10-23 08:27:14.292 | /app/src/synthetic_dataset_generator/pipelines/base.py:131: UserWarning: A custom validator is returning a value other than self.
2025-10-23 08:27:14.292 | Returning anything other than self from a top level model validator isn't supported when validating via __init__.
2025-10-23 08:27:14.292 | See the model_validator docs (https://docs.pydantic.dev/latest/concepts/validators/#model-validators) for more details.
2025-10-23 08:27:14.292 | llm = OllamaLLM(
2025-10-23 08:27:14.993 | /app/src/synthetic_dataset_generator/pipelines/base.py:131: UserWarning: A custom validator is returning a value other than self.
2025-10-23 08:27:14.993 | Returning anything other than self from a top level model validator isn't supported when validating via __init__.
2025-10-23 08:27:14.993 | See the model_validator docs (https://docs.pydantic.dev/latest/concepts/validators/#model-validators) for more details.
2025-10-23 08:27:14.993 | llm = OllamaLLM(
2025-10-23 08:27:16.028 | /app/.venv/lib/python3.10/site-packages/gradio/oauth.py:163: UserWarning: Gradio does not support OAuth features outside of a Space environment. To help you debug your app locally, the login and logout buttons are mocked with your profile. To make it work, your machine must be logged in to Huggingface.
2025-10-23 08:27:16.028 | warnings.warn(
2025-10-23 08:27:16.411 | /app/.venv/lib/python3.10/site-packages/gradio/oauth.py:163: UserWarning: Gradio does not support OAuth features outside of a Space environment. To help you debug your app locally, the login and logout buttons are mocked with your profile. To make it work, your machine must be logged in to Huggingface.
2025-10-23 08:27:16.411 | warnings.warn(
2025-10-23 08:27:17.040 | * Running on local URL: http://0.0.0.0:7860
2025-10-23 08:27:17.115 | ERROR: Exception in ASGI application
2025-10-23 08:27:17.115 | Traceback (most recent call last):
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
2025-10-23 08:27:17.115 | result = await app( # type: ignore[func-returns-value]
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in call
2025-10-23 08:27:17.115 | return await self.app(scope, receive, send)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/fastapi/applications.py", line 1133, in call
2025-10-23 08:27:17.115 | await super().call(scope, receive, send)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/starlette/applications.py", line 113, in call
2025-10-23 08:27:17.115 | await self.middleware_stack(scope, receive, send)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in call
2025-10-23 08:27:17.115 | raise exc
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in call
2025-10-23 08:27:17.115 | await self.app(scope, receive, _send)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/sessions.py", line 85, in call
2025-10-23 08:27:17.115 | await self.app(scope, receive, send_wrapper)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/gradio/route_utils.py", line 789, in call
2025-10-23 08:27:17.115 | await self.app(scope, receive, send)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in call
2025-10-23 08:27:17.115 | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2025-10-23 08:27:17.115 | raise exc
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2025-10-23 08:27:17.115 | await app(scope, receive, sender)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
2025-10-23 08:27:17.115 | await self.app(scope, receive, send)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 715, in call
2025-10-23 08:27:17.115 | await self.middleware_stack(scope, receive, send)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 735, in app
2025-10-23 08:27:17.115 | await route.handle(scope, receive, send)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 288, in handle
2025-10-23 08:27:17.115 | await self.app(scope, receive, send)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 123, in app
2025-10-23 08:27:17.115 | await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2025-10-23 08:27:17.115 | raise exc
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2025-10-23 08:27:17.115 | await app(scope, receive, sender)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 109, in app
2025-10-23 08:27:17.115 | response = await f(request)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 389, in app
2025-10-23 08:27:17.115 | raw_response = await run_endpoint_function(
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 290, in run_endpoint_function
2025-10-23 08:27:17.115 | return await run_in_threadpool(dependant.call, **values)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/starlette/concurrency.py", line 39, in run_in_threadpool
2025-10-23 08:27:17.115 | return await anyio.to_thread.run_sync(func, *args)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
2025-10-23 08:27:17.115 | return await get_async_backend().run_sync_in_worker_thread(
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2505, in run_sync_in_worker_thread
2025-10-23 08:27:17.115 | return await future
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/anyio/_backends/asyncio.py", line 1005, in run
2025-10-23 08:27:17.115 | result = context.run(func, *args)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/gradio/routes.py", line 552, in main
2025-10-23 08:27:17.115 | gradio_api_info = api_info(request)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/gradio/routes.py", line 582, in api_info
2025-10-23 08:27:17.115 | api_info = utils.safe_deepcopy(app.get_blocks().get_api_info())
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/gradio/blocks.py", line 2992, in get_api_info
2025-10-23 08:27:17.115 | python_type = client_utils.json_schema_to_python_type(info)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 920, in json_schema_to_python_type
2025-10-23 08:27:17.115 | type
= _json_schema_to_python_type(schema, schema.get("$defs"))
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 974, in _json_schema_to_python_type
2025-10-23 08:27:17.115 | des = [
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 975, in
2025-10-23 08:27:17.115 | f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 982, in _json_schema_to_python_type
2025-10-23 08:27:17.115 | f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}"
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 928, in json_schema_to_python_type
2025-10-23 08:27:17.115 | type
= get_type(schema)
2025-10-23 08:27:17.115 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 887, in get_type
2025-10-23 08:27:17.115 | if "const" in schema:
2025-10-23 08:27:17.115 | TypeError: argument of type 'bool' is not iterable
2025-10-23 08:27:17.637 | ERROR: Exception in ASGI application
2025-10-23 08:27:17.637 | Traceback (most recent call last):
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
2025-10-23 08:27:17.637 | result = await app( # type: ignore[func-returns-value]
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in call
2025-10-23 08:27:17.637 | return await self.app(scope, receive, send)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/fastapi/applications.py", line 1133, in call
2025-10-23 08:27:17.637 | await super().call(scope, receive, send)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/starlette/applications.py", line 113, in call
2025-10-23 08:27:17.637 | await self.middleware_stack(scope, receive, send)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in call
2025-10-23 08:27:17.637 | raise exc
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in call
2025-10-23 08:27:17.637 | await self.app(scope, receive, _send)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/sessions.py", line 85, in call
2025-10-23 08:27:17.637 | await self.app(scope, receive, send_wrapper)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/gradio/route_utils.py", line 789, in call
2025-10-23 08:27:17.637 | await self.app(scope, receive, send)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in call
2025-10-23 08:27:17.637 | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2025-10-23 08:27:17.637 | raise exc
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2025-10-23 08:27:17.637 | await app(scope, receive, sender)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
2025-10-23 08:27:17.637 | await self.app(scope, receive, send)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 715, in call
2025-10-23 08:27:17.637 | await self.middleware_stack(scope, receive, send)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 735, in app
2025-10-23 08:27:17.637 | await route.handle(scope, receive, send)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 288, in handle
2025-10-23 08:27:17.637 | await self.app(scope, receive, send)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 123, in app
2025-10-23 08:27:17.637 | await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2025-10-23 08:27:17.637 | raise exc
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2025-10-23 08:27:17.637 | await app(scope, receive, sender)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 109, in app
2025-10-23 08:27:17.637 | response = await f(request)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 389, in app
2025-10-23 08:27:17.637 | raw_response = await run_endpoint_function(
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 290, in run_endpoint_function
2025-10-23 08:27:17.637 | return await run_in_threadpool(dependant.call, **values)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/starlette/concurrency.py", line 39, in run_in_threadpool
2025-10-23 08:27:17.637 | return await anyio.to_thread.run_sync(func, *args)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
2025-10-23 08:27:17.637 | return await get_async_backend().run_sync_in_worker_thread(
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2505, in run_sync_in_worker_thread
2025-10-23 08:27:17.637 | return await future
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/anyio/_backends/asyncio.py", line 1005, in run
2025-10-23 08:27:17.637 | result = context.run(func, *args)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/gradio/routes.py", line 552, in main
2025-10-23 08:27:17.637 | gradio_api_info = api_info(request)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/gradio/routes.py", line 582, in api_info
2025-10-23 08:27:17.637 | api_info = utils.safe_deepcopy(app.get_blocks().get_api_info())
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/gradio/blocks.py", line 2992, in get_api_info
2025-10-23 08:27:17.637 | python_type = client_utils.json_schema_to_python_type(info)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 920, in json_schema_to_python_type
2025-10-23 08:27:17.637 | type
= _json_schema_to_python_type(schema, schema.get("$defs"))
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 974, in _json_schema_to_python_type
2025-10-23 08:27:17.637 | des = [
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 975, in
2025-10-23 08:27:17.637 | f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 982, in _json_schema_to_python_type
2025-10-23 08:27:17.637 | f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}"
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 928, in json_schema_to_python_type
2025-10-23 08:27:17.637 | type
= get_type(schema)
2025-10-23 08:27:17.637 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 887, in get_type
2025-10-23 08:27:17.637 | if "const" in schema:
2025-10-23 08:27:17.637 | TypeError: argument of type 'bool' is not iterable
2025-10-23 08:27:18.157 | ERROR: Exception in ASGI application
2025-10-23 08:27:18.157 | Traceback (most recent call last):
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
2025-10-23 08:27:18.157 | result = await app( # type: ignore[func-returns-value]
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in call
2025-10-23 08:27:18.157 | return await self.app(scope, receive, send)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/fastapi/applications.py", line 1133, in call
2025-10-23 08:27:18.157 | await super().call(scope, receive, send)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/starlette/applications.py", line 113, in call
2025-10-23 08:27:18.157 | await self.middleware_stack(scope, receive, send)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in call
2025-10-23 08:27:18.157 | raise exc
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in call
2025-10-23 08:27:18.157 | await self.app(scope, receive, _send)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/sessions.py", line 85, in call
2025-10-23 08:27:18.157 | await self.app(scope, receive, send_wrapper)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/gradio/route_utils.py", line 789, in call
2025-10-23 08:27:18.157 | await self.app(scope, receive, send)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in call
2025-10-23 08:27:18.157 | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2025-10-23 08:27:18.157 | raise exc
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2025-10-23 08:27:18.157 | await app(scope, receive, sender)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
2025-10-23 08:27:18.157 | await self.app(scope, receive, send)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 715, in call
2025-10-23 08:27:18.157 | await self.middleware_stack(scope, receive, send)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 735, in app
2025-10-23 08:27:18.157 | await route.handle(scope, receive, send)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 288, in handle
2025-10-23 08:27:18.157 | await self.app(scope, receive, send)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 123, in app
2025-10-23 08:27:18.157 | await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2025-10-23 08:27:18.157 | raise exc
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2025-10-23 08:27:18.157 | await app(scope, receive, sender)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 109, in app
2025-10-23 08:27:18.157 | response = await f(request)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 389, in app
2025-10-23 08:27:18.157 | raw_response = await run_endpoint_function(
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 290, in run_endpoint_function
2025-10-23 08:27:18.157 | return await run_in_threadpool(dependant.call, **values)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/starlette/concurrency.py", line 39, in run_in_threadpool
2025-10-23 08:27:18.157 | return await anyio.to_thread.run_sync(func, *args)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
2025-10-23 08:27:18.157 | return await get_async_backend().run_sync_in_worker_thread(
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2505, in run_sync_in_worker_thread
2025-10-23 08:27:18.157 | return await future
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/anyio/_backends/asyncio.py", line 1005, in run
2025-10-23 08:27:18.157 | result = context.run(func, *args)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/gradio/routes.py", line 552, in main
2025-10-23 08:27:18.157 | gradio_api_info = api_info(request)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/gradio/routes.py", line 582, in api_info
2025-10-23 08:27:18.157 | api_info = utils.safe_deepcopy(app.get_blocks().get_api_info())
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/gradio/blocks.py", line 2992, in get_api_info
2025-10-23 08:27:18.157 | python_type = client_utils.json_schema_to_python_type(info)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 920, in json_schema_to_python_type
2025-10-23 08:27:18.157 | type
= _json_schema_to_python_type(schema, schema.get("$defs"))
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 974, in _json_schema_to_python_type
2025-10-23 08:27:18.157 | des = [
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 975, in
2025-10-23 08:27:18.157 | f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 982, in _json_schema_to_python_type
2025-10-23 08:27:18.157 | f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}"
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 928, in json_schema_to_python_type
2025-10-23 08:27:18.157 | type
= get_type(schema)
2025-10-23 08:27:18.157 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 887, in get_type
2025-10-23 08:27:18.157 | if "const" in schema:
2025-10-23 08:27:18.157 | TypeError: argument of type 'bool' is not iterable
2025-10-23 08:27:18.680 | ERROR: Exception in ASGI application
2025-10-23 08:27:18.680 | Traceback (most recent call last):
2025-10-23 08:27:18.680 | File "/app/.venv/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
2025-10-23 08:27:18.680 | result = await app( # type: ignore[func-returns-value]
2025-10-23 08:27:18.680 | File "/app/.venv/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in call
2025-10-23 08:27:18.680 | return await self.app(scope, receive, send)
2025-10-23 08:27:18.680 | File "/app/.venv/lib/python3.10/site-packages/fastapi/applications.py", line 1133, in call
2025-10-23 08:27:18.680 | await super().call(scope, receive, send)
2025-10-23 08:27:18.680 | File "/app/.venv/lib/python3.10/site-packages/starlette/applications.py", line 113, in call
2025-10-23 08:27:18.680 | await self.middleware_stack(scope, receive, send)
2025-10-23 08:27:18.680 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in call
2025-10-23 08:27:18.680 | raise exc
2025-10-23 08:27:18.680 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in call
2025-10-23 08:27:18.680 | await self.app(scope, receive, _send)
2025-10-23 08:27:18.680 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/sessions.py", line 85, in call
2025-10-23 08:27:18.680 | await self.app(scope, receive, send_wrapper)
2025-10-23 08:27:18.680 | File "/app/.venv/lib/python3.10/site-packages/gradio/route_utils.py", line 789, in call
2025-10-23 08:27:18.680 | await self.app(scope, receive, send)
2025-10-23 08:27:18.680 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in call
2025-10-23 08:27:18.680 | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2025-10-23 08:27:18.680 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2025-10-23 08:27:18.680 | raise exc
2025-10-23 08:27:18.680 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2025-10-23 08:27:18.680 | await app(scope, receive, sender)
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
2025-10-23 08:27:18.681 | await self.app(scope, receive, send)
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 715, in call
2025-10-23 08:27:18.681 | await self.middleware_stack(scope, receive, send)
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 735, in app
2025-10-23 08:27:18.681 | await route.handle(scope, receive, send)
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 288, in handle
2025-10-23 08:27:18.681 | await self.app(scope, receive, send)
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 123, in app
2025-10-23 08:27:18.681 | await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2025-10-23 08:27:18.681 | raise exc
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2025-10-23 08:27:18.681 | await app(scope, receive, sender)
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 109, in app
2025-10-23 08:27:18.681 | response = await f(request)
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 389, in app
2025-10-23 08:27:18.681 | raw_response = await run_endpoint_function(
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 290, in run_endpoint_function
2025-10-23 08:27:18.681 | return await run_in_threadpool(dependant.call, **values)
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/starlette/concurrency.py", line 39, in run_in_threadpool
2025-10-23 08:27:18.681 | return await anyio.to_thread.run_sync(func, *args)
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
2025-10-23 08:27:18.681 | return await get_async_backend().run_sync_in_worker_thread(
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2505, in run_sync_in_worker_thread
2025-10-23 08:27:18.681 | return await future
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/anyio/_backends/asyncio.py", line 1005, in run
2025-10-23 08:27:18.681 | result = context.run(func, *args)
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/gradio/routes.py", line 552, in main
2025-10-23 08:27:18.681 | gradio_api_info = api_info(request)
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/gradio/routes.py", line 582, in api_info
2025-10-23 08:27:18.681 | api_info = utils.safe_deepcopy(app.get_blocks().get_api_info())
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/gradio/blocks.py", line 2992, in get_api_info
2025-10-23 08:27:18.681 | python_type = client_utils.json_schema_to_python_type(info)
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 920, in json_schema_to_python_type
2025-10-23 08:27:18.681 | type
= _json_schema_to_python_type(schema, schema.get("$defs"))
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 974, in _json_schema_to_python_type
2025-10-23 08:27:18.681 | des = [
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 975, in
2025-10-23 08:27:18.681 | f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 982, in _json_schema_to_python_type
2025-10-23 08:27:18.681 | f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}"
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 928, in json_schema_to_python_type
2025-10-23 08:27:18.681 | type
= get_type(schema)
2025-10-23 08:27:18.681 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 887, in get_type
2025-10-23 08:27:18.681 | if "const" in schema:
2025-10-23 08:27:18.681 | TypeError: argument of type 'bool' is not iterable
2025-10-23 08:27:19.200 | ERROR: Exception in ASGI application
2025-10-23 08:27:19.200 | Traceback (most recent call last):
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
2025-10-23 08:27:19.200 | result = await app( # type: ignore[func-returns-value]
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in call
2025-10-23 08:27:19.200 | return await self.app(scope, receive, send)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/fastapi/applications.py", line 1133, in call
2025-10-23 08:27:19.200 | await super().call(scope, receive, send)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/starlette/applications.py", line 113, in call
2025-10-23 08:27:19.200 | await self.middleware_stack(scope, receive, send)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in call
2025-10-23 08:27:19.200 | raise exc
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in call
2025-10-23 08:27:19.200 | await self.app(scope, receive, _send)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/sessions.py", line 85, in call
2025-10-23 08:27:19.200 | await self.app(scope, receive, send_wrapper)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/gradio/route_utils.py", line 789, in call
2025-10-23 08:27:19.200 | await self.app(scope, receive, send)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in call
2025-10-23 08:27:19.200 | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2025-10-23 08:27:19.200 | raise exc
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2025-10-23 08:27:19.200 | await app(scope, receive, sender)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
2025-10-23 08:27:19.200 | await self.app(scope, receive, send)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 715, in call
2025-10-23 08:27:19.200 | await self.middleware_stack(scope, receive, send)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 735, in app
2025-10-23 08:27:19.200 | await route.handle(scope, receive, send)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/starlette/routing.py", line 288, in handle
2025-10-23 08:27:19.200 | await self.app(scope, receive, send)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 123, in app
2025-10-23 08:27:19.200 | await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2025-10-23 08:27:19.200 | raise exc
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2025-10-23 08:27:19.200 | await app(scope, receive, sender)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 109, in app
2025-10-23 08:27:19.200 | response = await f(request)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 389, in app
2025-10-23 08:27:19.200 | raw_response = await run_endpoint_function(
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 290, in run_endpoint_function
2025-10-23 08:27:19.200 | return await run_in_threadpool(dependant.call, **values)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/starlette/concurrency.py", line 39, in run_in_threadpool
2025-10-23 08:27:19.200 | return await anyio.to_thread.run_sync(func, *args)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
2025-10-23 08:27:19.200 | return await get_async_backend().run_sync_in_worker_thread(
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2505, in run_sync_in_worker_thread
2025-10-23 08:27:19.200 | return await future
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/anyio/_backends/asyncio.py", line 1005, in run
2025-10-23 08:27:19.200 | result = context.run(func, *args)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/gradio/routes.py", line 552, in main
2025-10-23 08:27:19.200 | gradio_api_info = api_info(request)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/gradio/routes.py", line 582, in api_info
2025-10-23 08:27:19.200 | api_info = utils.safe_deepcopy(app.get_blocks().get_api_info())
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/gradio/blocks.py", line 2992, in get_api_info
2025-10-23 08:27:19.200 | python_type = client_utils.json_schema_to_python_type(info)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 920, in json_schema_to_python_type
2025-10-23 08:27:19.200 | type
= _json_schema_to_python_type(schema, schema.get("$defs"))
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 974, in _json_schema_to_python_type
2025-10-23 08:27:19.200 | des = [
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 975, in
2025-10-23 08:27:19.200 | f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 982, in _json_schema_to_python_type
2025-10-23 08:27:19.200 | f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}"
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 928, in json_schema_to_python_type
2025-10-23 08:27:19.200 | type
= get_type(schema)
2025-10-23 08:27:19.200 | File "/app/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 887, in get_type
2025-10-23 08:27:19.200 | if "const" in schema:
2025-10-23 08:27:19.200 | TypeError: argument of type 'bool' is not iterable
2025-10-23 08:27:20.617 | ╭───────────────────── Traceback (most recent call last) ──────────────────────╮
2025-10-23 08:27:20.617 | │ /usr/local/lib/python3.10/runpy.py:196 in _run_module_as_main │
2025-10-23 08:27:20.617 | │ │
2025-10-23 08:27:20.617 | │ 193 │ main_globals = sys.modules["main"].dict
2025-10-23 08:27:20.617 | │ 194 │ if alter_argv: │
2025-10-23 08:27:20.617 | │ 195 │ │ sys.argv[0] = mod_spec.origin │
2025-10-23 08:27:20.617 | │ ❱ 196 │ return _run_code(code, main_globals, None, │
2025-10-23 08:27:20.617 | │ 197 │ │ │ │ │ "main", mod_spec) │
2025-10-23 08:27:20.617 | │ 198 │
2025-10-23 08:27:20.617 | │ 199 def run_module(mod_name, init_globals=None, │
2025-10-23 08:27:20.617 | │ │
2025-10-23 08:27:20.617 | │ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
2025-10-23 08:27:20.617 | │ │ alter_argv = True │ │
2025-10-23 08:27:20.617 | │ │ code = <code object at 0x7bd98221f7e0, file │ │
2025-10-23 08:27:20.617 | │ │ "/app/src/synthetic_dataset_generator/main.py", line │ │
2025-10-23 08:27:20.617 | │ │ 1> │ │
2025-10-23 08:27:20.617 | │ │ main_globals = { │ │
2025-10-23 08:27:20.617 | │ │ │ 'name': 'main', │ │
2025-10-23 08:27:20.617 | │ │ │ 'doc': None, │ │
2025-10-23 08:27:20.617 | │ │ │ 'package': 'synthetic_dataset_generator', │ │
2025-10-23 08:27:20.617 | │ │ │ 'loader': │ │
2025-10-23 08:27:20.617 | │ │ <_frozen_importlib_external.SourceFileLoader object at │ │
2025-10-23 08:27:20.617 | │ │ 0x7bd99a594640>, │ │
2025-10-23 08:27:20.617 | │ │ │ 'spec': │ │
2025-10-23 08:27:20.617 | │ │ ModuleSpec(name='synthetic_dataset_generator.main', │ │
2025-10-23 08:27:20.617 | │ │ loader=<_frozen_importlib_external.SourceFileLoader │ │
2025-10-23 08:27:20.617 | │ │ object at 0x7bd99a594640>, │ │
2025-10-23 08:27:20.617 | │ │ origin='/app/src/synthetic_dataset_generator/main.py… │ │
2025-10-23 08:27:20.617 | │ │ │ 'annotations': {}, │ │
2025-10-23 08:27:20.617 | │ │ │ 'builtins': <module 'builtins' (built-in)>, │ │
2025-10-23 08:27:20.617 | │ │ │ 'file': │ │
2025-10-23 08:27:20.617 | │ │ '/app/src/synthetic_dataset_generator/main.py', │ │
2025-10-23 08:27:20.617 | │ │ │ 'cached': │ │
2025-10-23 08:27:20.617 | │ │ '/app/src/synthetic_dataset_generator/pycache/__main… │ │
2025-10-23 08:27:20.617 | │ │ │ 'launch': <function launch at 0x7bd99a419900> │ │
2025-10-23 08:27:20.617 | │ │ } │ │
2025-10-23 08:27:20.617 | │ │ mod_name = 'synthetic_dataset_generator.main' │ │
2025-10-23 08:27:20.617 | │ │ mod_spec = ModuleSpec(name='synthetic_dataset_generator.main', │ │
2025-10-23 08:27:20.617 | │ │ loader=<_frozen_importlib_external.SourceFileLoader │ │
2025-10-23 08:27:20.617 | │ │ object at 0x7bd99a594640>, │ │
2025-10-23 08:27:20.617 | │ │ origin='/app/src/synthetic_dataset_generator/main.py… │ │
2025-10-23 08:27:20.617 | │ ╰──────────────────────────────────────────────────────────────────────────╯ │
2025-10-23 08:27:20.617 | │ │
2025-10-23 08:27:20.617 | │ /usr/local/lib/python3.10/runpy.py:86 in _run_code │
2025-10-23 08:27:20.617 | │ │
2025-10-23 08:27:20.617 | │ 83 │ │ │ │ │ loader = loader, │
2025-10-23 08:27:20.617 | │ 84 │ │ │ │ │ package = pkg_name, │
2025-10-23 08:27:20.617 | │ 85 │ │ │ │ │ spec = mod_spec) │
2025-10-23 08:27:20.617 | │ ❱ 86 │ exec(code, run_globals) │
2025-10-23 08:27:20.617 | │ 87 │ return run_globals │
2025-10-23 08:27:20.617 | │ 88 │
2025-10-23 08:27:20.617 | │ 89 def _run_module_code(code, init_globals=None, │
2025-10-23 08:27:20.617 | │ │
2025-10-23 08:27:20.617 | │ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
2025-10-23 08:27:20.617 | │ │ cached = '/app/src/synthetic_dataset_generator/pycache/__main… │ │
2025-10-23 08:27:20.617 | │ │ code = <code object at 0x7bd98221f7e0, file │ │
2025-10-23 08:27:20.617 | │ │ "/app/src/synthetic_dataset_generator/main.py", line │ │
2025-10-23 08:27:20.617 | │ │ 1> │ │
2025-10-23 08:27:20.617 | │ │ fname = '/app/src/synthetic_dataset_generator/main.py' │ │
2025-10-23 08:27:20.617 | │ │ init_globals = None │ │
2025-10-23 08:27:20.617 | │ │ loader = <_frozen_importlib_external.SourceFileLoader object at │ │
2025-10-23 08:27:20.617 | │ │ 0x7bd99a594640> │ │
2025-10-23 08:27:20.617 | │ │ mod_name = 'main' │ │
2025-10-23 08:27:20.617 | │ │ mod_spec = ModuleSpec(name='synthetic_dataset_generator.main', │ │
2025-10-23 08:27:20.617 | │ │ loader=<_frozen_importlib_external.SourceFileLoader │ │
2025-10-23 08:27:20.617 | │ │ object at 0x7bd99a594640>, │ │
2025-10-23 08:27:20.617 | │ │ origin='/app/src/synthetic_dataset_generator/main.py… │ │
2025-10-23 08:27:20.617 | │ │ pkg_name = 'synthetic_dataset_generator' │ │
2025-10-23 08:27:20.617 | │ │ run_globals = { │ │
2025-10-23 08:27:20.617 | │ │ │ 'name': 'main', │ │
2025-10-23 08:27:20.617 | │ │ │ 'doc': None, │ │
2025-10-23 08:27:20.617 | │ │ │ 'package': 'synthetic_dataset_generator', │ │
2025-10-23 08:27:20.617 | │ │ │ 'loader': │ │
2025-10-23 08:27:20.617 | │ │ <_frozen_importlib_external.SourceFileLoader object at │ │
2025-10-23 08:27:20.617 | │ │ 0x7bd99a594640>, │ │
2025-10-23 08:27:20.617 | │ │ │ 'spec': │ │
2025-10-23 08:27:20.617 | │ │ ModuleSpec(name='synthetic_dataset_generator.main', │ │
2025-10-23 08:27:20.617 | │ │ loader=<_frozen_importlib_external.SourceFileLoader │ │
2025-10-23 08:27:20.617 | │ │ object at 0x7bd99a594640>, │ │
2025-10-23 08:27:20.617 | │ │ origin='/app/src/synthetic_dataset_generator/main.py… │ │
2025-10-23 08:27:20.617 | │ │ │ 'annotations': {}, │ │
2025-10-23 08:27:20.617 | │ │ │ 'builtins': <module 'builtins' (built-in)>, │ │
2025-10-23 08:27:20.617 | │ │ │ 'file': │ │
2025-10-23 08:27:20.617 | │ │ '/app/src/synthetic_dataset_generator/main.py', │ │
2025-10-23 08:27:20.617 | │ │ │ 'cached': │ │
2025-10-23 08:27:20.617 | │ │ '/app/src/synthetic_dataset_generator/pycache/__main… │ │
2025-10-23 08:27:20.617 | │ │ │ 'launch': <function launch at 0x7bd99a419900> │ │
2025-10-23 08:27:20.617 | │ │ } │ │
2025-10-23 08:27:20.617 | │ │ script_name = None │ │
2025-10-23 08:27:20.617 | │ ╰──────────────────────────────────────────────────────────────────────────╯ │
2025-10-23 08:27:20.617 | │ │
2025-10-23 08:27:20.617 | │ /app/src/synthetic_dataset_generator/main.py:4 in │
2025-10-23 08:27:20.617 | │ │
2025-10-23 08:27:20.617 | │ 1 if name == "main": │
2025-10-23 08:27:20.617 | │ 2 │ from synthetic_dataset_generator import launch │
2025-10-23 08:27:20.617 | │ 3 │ │
2025-10-23 08:27:20.617 | │ ❱ 4 │ launch() │
2025-10-23 08:27:20.617 | │ 5 │
2025-10-23 08:27:20.617 | │ │
2025-10-23 08:27:20.617 | │ /app/src/synthetic_dataset_generator/init.py:15 in launch │
2025-10-23 08:27:20.617 | │ │
2025-10-23 08:27:20.617 | │ 12 │ Parameters: https://www.gradio.app/docs/gradio/tabbedinterface │
2025-10-23 08:27:20.617 | │ 13 │ """ │
2025-10-23 08:27:20.617 | │ 14 │ from synthetic_dataset_generator.app import demo │
2025-10-23 08:27:20.617 | │ ❱ 15 │ return demo.launch(*args, server_name="0.0.0.0", **kwargs) │
2025-10-23 08:27:20.617 | │ 16 │
2025-10-23 08:27:20.617 | │ 17 │
2025-10-23 08:27:20.617 | │ 18 launch.doc = TabbedInterface.launch.doc
2025-10-23 08:27:20.617 | │ │
2025-10-23 08:27:20.617 | │ ╭───────────────────────────────── locals ─────────────────────────────────╮ │

**Had to truncate some log to make it.****Had to truncate some log to make it.**Had to truncate some log to make it.

2025-10-23 08:27:20.619 | │ │ outputs: │ │
2025-10-23 08:27:20.619 | │ │ |-<gradio.components.login_button.LoginButton object at │ │
2025-10-23 08:27:20.619 | │ │ 0x7bd899634670> │ │
2025-10-23 08:27:20.619 | │ │ kwargs = {} │ │
2025-10-23 08:27:20.619 | │ ╰──────────────────────────────────────────────────────────────────────────╯ │
2025-10-23 08:27:20.619 | │ │
2025-10-23 08:27:20.619 | │ /app/.venv/lib/python3.10/site-packages/gradio/blocks.py:2619 in launch │
2025-10-23 08:27:20.619 | │ │
2025-10-23 08:27:20.619 | │ 2616 │ │ │ and not networking.url_ok(self.local_url) │
2025-10-23 08:27:20.619 | │ 2617 │ │ │ and not self.share │
2025-10-23 08:27:20.619 | │ 2618 │ │ ): │
2025-10-23 08:27:20.619 | │ ❱ 2619 │ │ │ raise ValueError( │
2025-10-23 08:27:20.619 | │ 2620 │ │ │ │ "When localhost is not accessible, a shareable link m │
2025-10-23 08:27:20.619 | │ 2621 │ │ │ ) │
2025-10-23 08:27:20.619 | │ 2622 │
2025-10-23 08:27:20.619 | │ │
2025-10-23 08:27:20.619 | │ ╭───────────────────────────────── locals ─────────────────────────────────╮ │

Had to truncate some log to make it.

╰──────────────────────────────────────────────────────────────────────────╯ │
2025-10-23 08:27:20.625 | ╰──────────────────────────────────────────────────────────────────────────────╯
2025-10-23 08:27:20.625 | ValueError: When localhost is not accessible, a shareable link must be created.
2025-10-23 08:27:20.625 | Please set share=True or check your proxy settings to allow access to localhost.

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