runtime error
Exit code: 1. Reason: apse) /home/user/app/app.py:119: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy movies['genres'] = movies['genres'].apply(collapse) /home/user/app/app.py:120: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy movies['keywords'] = movies['keywords'].apply(collapse) Lawrence of Arabia Public Enemies Superman Sands of Iwo Jima The Elephant Man The Greatest Story Ever Told Superman II Gandhi The Fifth Element Hoffa Lawrence of Arabia Public Enemies Superman Sands of Iwo Jima The Elephant Man API key looks good so far Traceback (most recent call last): File "/home/user/app/app.py", line 215, in <module> response = openai.responses.create( File "/usr/local/lib/python3.10/site-packages/openai/resources/responses/responses.py", line 866, in create return self._post( File "/usr/local/lib/python3.10/site-packages/openai/_base_client.py", line 1294, in post return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)) File "/usr/local/lib/python3.10/site-packages/openai/_base_client.py", line 1067, in request raise self._make_status_error_from_response(err.response) from None openai.AuthenticationError: Error code: 401 - {'error': {'message': 'Incorrect API key provided: sk-proj-********************************************************************************************************************************************************RRkA. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'code': 'invalid_api_key', 'param': None}, 'status': 401}
Container logs:
Fetching error logs...