runtime error
Space failed. Exit code: 1. Reason: "/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py", line 1051, in call_function prediction = await anyio.to_thread.run_sync( File "/home/user/.local/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/home/user/.local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "/home/user/.local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run result = context.run(func, *args) File "/home/user/app/app.py", line 62, in handle_chat city, weather, temp = get_weather(lat, lon) # μ¬μ©μμ νμ¬ μμΉ, μ€λ λ μ¨, κΈ°μ¨ μ 보λ₯Ό μλ κ²½λλ₯Ό ν΅ν΄ μ»μ΅λλ€. File "/home/user/app/app.py", line 25, in get_weather response = requests.get(url) # ν΄λΉ μλν¬μΈνΈλ‘ GET μμ² File "/home/user/.local/lib/python3.10/site-packages/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) File "/home/user/.local/lib/python3.10/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/requests/adapters.py", line 520, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.openweathermap.org', port=443): Max retries exceeded with url: /data/2.5/weather?lat=None&lon=None&lang=kr&appid=4d5d6ec1b25cfc6109a485ee8cdd8ea7&units=metric (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f6169bc1180>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
Container logs:
Fetching error logs...