runtime error
Exit code: 1. Reason: tical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model). generation_config.json: 0%| | 0.00/121 [00:00<?, ?B/s][A generation_config.json: 100%|ββββββββββ| 121/121 [00:00<00:00, 878kB/s] config.json: 0%| | 0.00/102 [00:00<?, ?B/s][A config.json: 100%|ββββββββββ| 102/102 [00:00<00:00, 645kB/s] decoder/model.safetensors: 0%| | 0.00/653M [00:00<?, ?B/s][A decoder/model.safetensors: 2%|β | 10.3M/653M [00:01<01:07, 9.49MB/s][A decoder/model.safetensors: 37%|ββββ | 242M/653M [00:02<00:03, 127MB/s] [A decoder/model.safetensors: 69%|βββββββ | 451M/653M [00:03<00:01, 145MB/s][A decoder/model.safetensors: 100%|ββββββββββ| 653M/653M [00:04<00:00, 156MB/s] INFO:__main__:Models loaded. /app/app.py:352: UserWarning: The parameters have been moved from the Blocks constructor to the launch() method in Gradio 6.0: css. Please pass these parameters to launch() instead. with gr.Blocks( INFO:httpx:HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK" /usr/local/lib/python3.11/site-packages/spaces/_vendor/codefind/registry.py:46: FutureWarning: `torch.distributed.reduce_op` is deprecated, please use `torch.distributed.ReduceOp` instead if isinstance(obj, types.FunctionType): Traceback (most recent call last): File "/app/app.py", line 547, in <module> demo.launch(server_name="0.0.0.0", server_port=args.port, share=args.share, allowed_paths=[_SAMPLES_DIR]) File "/usr/local/lib/python3.11/site-packages/gradio/blocks.py", line 2733, in launch ) = http_server.start_server( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gradio/http_server.py", line 182, in start_server raise OSError( OSError: Cannot find empty port in range: 7860-7860. You can specify a different port by setting the GRADIO_SERVER_PORT environment variable or passing the `server_port` parameter to `launch()`.
Container logs:
Fetching error logs...