You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
报错日志:
lckhn 2023-04-14T02:23:13.575Z /home/user/.local/lib/python3.8/site-packages/gradio/inputs.py:27: UserWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
lckhn 2023-04-14T02:23:13.575Z warnings.warn(
lckhn 2023-04-14T02:23:13.575Z /home/user/.local/lib/python3.8/site-packages/gradio/deprecation.py:40: UserWarning: optional parameter is deprecated, and it has no effect
lckhn 2023-04-14T02:23:13.575Z warnings.warn(value)
lckhn 2023-04-14T02:23:13.575Z /home/user/.local/lib/python3.8/site-packages/gradio/deprecation.py:40: UserWarning: numeric parameter is deprecated, and it has no effect
lckhn 2023-04-14T02:23:13.575Z warnings.warn(value)
lckhn 2023-04-14T02:23:13.905Z /home/user/.local/lib/python3.8/site-packages/gradio/inputs.py:183: UserWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
lckhn 2023-04-14T02:23:13.905Z warnings.warn(
lckhn 2023-04-14T02:23:13.905Z /home/user/.local/lib/python3.8/site-packages/gradio/inputs.py:89: UserWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
lckhn 2023-04-14T02:23:13.905Z warnings.warn(
lckhn 2023-04-14T02:23:13.905Z /home/user/.local/lib/python3.8/site-packages/gradio/inputs.py:347: UserWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your components from gradio.components
lckhn 2023-04-14T02:23:13.905Z warnings.warn(
lckhn 2023-04-14T02:23:13.905Z /home/user/.local/lib/python3.8/site-packages/gradio/deprecation.py:40: UserWarning: keep_filename parameter is deprecated, and it has no effect
lckhn 2023-04-14T02:23:13.905Z warnings.warn(value)
lckhn 2023-04-14T02:23:14.207Z /home/user/.local/lib/python3.8/site-packages/gradio/blocks.py:684: UserWarning: api_name predict already exists, using predict_1
lckhn 2023-04-14T02:23:14.207Z warnings.warn(
lckhn 2023-04-14T02:23:14.325Z Running on local URL: http://0.0.0.0:7860
lckhn 2023-04-14T02:23:28.061Z ['']
lckhn 2023-04-14T02:24:00.992Z ['']
lckhn 2023-04-14T02:24:39.259Z Traceback (most recent call last):
lckhn 2023-04-14T02:24:39.259Z File "/home/user/.local/lib/python3.8/site-packages/gradio/routes.py", line 384, in run_predict
lckhn 2023-04-14T02:24:39.259Z output = await app.get_blocks().process_api(
lckhn 2023-04-14T02:24:39.259Z File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1035, in process_api
lckhn 2023-04-14T02:24:39.259Z data = self.postprocess_data(fn_index, result["prediction"], state)
lckhn 2023-04-14T02:24:39.259Z File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 972, in postprocess_data
lckhn 2023-04-14T02:24:39.259Z prediction_value = block.postprocess(prediction_value)
lckhn 2023-04-14T02:24:39.259Z File "/home/user/.local/lib/python3.8/site-packages/gradio/components.py", line 3649, in postprocess
lckhn 2023-04-14T02:24:39.259Z return json.loads(y)
lckhn 2023-04-14T02:24:39.259Z File "/usr/local/lib/python3.8/json/init.py", line 357, in loads
lckhn 2023-04-14T02:24:39.259Z return _default_decoder.decode(s)
lckhn 2023-04-14T02:24:39.259Z File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode
lckhn 2023-04-14T02:24:39.259Z obj, end = self.raw_decode(s, idx=_w(s, 0).end())
lckhn 2023-04-14T02:24:39.259Z File "/usr/local/lib/python3.8/json/decoder.py", line 355, in raw_decode
lckhn 2023-04-14T02:24:39.259Z raise JSONDecodeError("Expecting value", s, err.value) from None
lckhn 2023-04-14T02:24:39.259Z json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
lckhn 2023-04-14T02:25:04.494Z Traceback (most recent call last):
lckhn 2023-04-14T02:25:04.494Z File "/home/user/.local/lib/python3.8/site-packages/gradio/routes.py", line 384, in run_predict
lckhn 2023-04-14T02:25:04.494Z output = await app.get_blocks().process_api(
lckhn 2023-04-14T02:25:04.494Z File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1035, in process_api
lckhn 2023-04-14T02:25:04.494Z data = self.postprocess_data(fn_index, result["prediction"], state)
lckhn 2023-04-14T02:25:04.494Z File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 972, in postprocess_data
lckhn 2023-04-14T02:25:04.494Z prediction_value = block.postprocess(prediction_value)
lckhn 2023-04-14T02:25:04.494Z File "/home/user/.local/lib/python3.8/site-packages/gradio/components.py", line 3649, in postprocess
lckhn 2023-04-14T02:25:04.494Z return json.loads(y)
lckhn 2023-04-14T02:25:04.494Z File "/usr/local/lib/python3.8/json/init.py", line 357, in loads
lckhn 2023-04-14T02:25:04.494Z return _default_decoder.decode(s)
lckhn 2023-04-14T02:25:04.494Z File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode
lckhn 2023-04-14T02:25:04.494Z obj, end = self.raw_decode(s, idx=_w(s, 0).end())
lckhn 2023-04-14T02:25:04.494Z File "/usr/local/lib/python3.8/json/decoder.py", line 355, in raw_decode
lckhn 2023-04-14T02:25:04.494Z raise JSONDecodeError("Expecting value", s, err.value) from None
lckhn 2023-04-14T02:25:04.494Z json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
lckhn 2023-04-14T02:26:58.002Z Traceback (most recent call last):
lckhn 2023-04-14T02:26:58.003Z File "/home/user/.local/lib/python3.8/site-packages/gradio/routes.py", line 384, in run_predict
lckhn 2023-04-14T02:26:58.003Z output = await app.get_blocks().process_api(
lckhn 2023-04-14T02:26:58.003Z File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1035, in process_api
lckhn 2023-04-14T02:26:58.003Z data = self.postprocess_data(fn_index, result["prediction"], state)
lckhn 2023-04-14T02:26:58.003Z File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 972, in postprocess_data
lckhn 2023-04-14T02:26:58.003Z prediction_value = block.postprocess(prediction_value)
lckhn 2023-04-14T02:26:58.003Z File "/home/user/.local/lib/python3.8/site-packages/gradio/components.py", line 3649, in postprocess
lckhn 2023-04-14T02:26:58.003Z return json.loads(y)
lckhn 2023-04-14T02:26:58.003Z File "/usr/local/lib/python3.8/json/init.py", line 357, in loads
lckhn 2023-04-14T02:26:58.003Z return _default_decoder.decode(s)
lckhn 2023-04-14T02:26:58.003Z File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode
lckhn 2023-04-14T02:26:58.003Z obj, end = self.raw_decode(s, idx=_w(s, 0).end())
lckhn 2023-04-14T02:26:58.003Z File "/usr/local/lib/python3.8/json/decoder.py", line 355, in raw_decode
lckhn 2023-04-14T02:26:58.003Z raise JSONDecodeError("Expecting value", s, err.value) from None
lckhn 2023-04-14T02:26:58.003Z json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered:
修改和不修改app.py#L845运行都会出现这个现象
报错截图:
报错日志:
lckhn 2023-04-14T02:23:13.575Z /home/user/.local/lib/python3.8/site-packages/gradio/inputs.py:27: UserWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
lckhn 2023-04-14T02:23:13.575Z warnings.warn(
lckhn 2023-04-14T02:23:13.575Z /home/user/.local/lib/python3.8/site-packages/gradio/deprecation.py:40: UserWarning:
optional
parameter is deprecated, and it has no effectlckhn 2023-04-14T02:23:13.575Z warnings.warn(value)
lckhn 2023-04-14T02:23:13.575Z /home/user/.local/lib/python3.8/site-packages/gradio/deprecation.py:40: UserWarning:
numeric
parameter is deprecated, and it has no effectlckhn 2023-04-14T02:23:13.575Z warnings.warn(value)
lckhn 2023-04-14T02:23:13.905Z /home/user/.local/lib/python3.8/site-packages/gradio/inputs.py:183: UserWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
lckhn 2023-04-14T02:23:13.905Z warnings.warn(
lckhn 2023-04-14T02:23:13.905Z /home/user/.local/lib/python3.8/site-packages/gradio/inputs.py:89: UserWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
lckhn 2023-04-14T02:23:13.905Z warnings.warn(
lckhn 2023-04-14T02:23:13.905Z /home/user/.local/lib/python3.8/site-packages/gradio/inputs.py:347: UserWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your components from gradio.components
lckhn 2023-04-14T02:23:13.905Z warnings.warn(
lckhn 2023-04-14T02:23:13.905Z /home/user/.local/lib/python3.8/site-packages/gradio/deprecation.py:40: UserWarning:
keep_filename
parameter is deprecated, and it has no effectlckhn 2023-04-14T02:23:13.905Z warnings.warn(value)
lckhn 2023-04-14T02:23:14.207Z /home/user/.local/lib/python3.8/site-packages/gradio/blocks.py:684: UserWarning: api_name predict already exists, using predict_1
lckhn 2023-04-14T02:23:14.207Z warnings.warn(
lckhn 2023-04-14T02:23:14.325Z Running on local URL: http://0.0.0.0:7860
lckhn 2023-04-14T02:23:28.061Z ['']
lckhn 2023-04-14T02:24:00.992Z ['']
lckhn 2023-04-14T02:24:39.259Z Traceback (most recent call last):
lckhn 2023-04-14T02:24:39.259Z File "/home/user/.local/lib/python3.8/site-packages/gradio/routes.py", line 384, in run_predict
lckhn 2023-04-14T02:24:39.259Z output = await app.get_blocks().process_api(
lckhn 2023-04-14T02:24:39.259Z File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1035, in process_api
lckhn 2023-04-14T02:24:39.259Z data = self.postprocess_data(fn_index, result["prediction"], state)
lckhn 2023-04-14T02:24:39.259Z File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 972, in postprocess_data
lckhn 2023-04-14T02:24:39.259Z prediction_value = block.postprocess(prediction_value)
lckhn 2023-04-14T02:24:39.259Z File "/home/user/.local/lib/python3.8/site-packages/gradio/components.py", line 3649, in postprocess
lckhn 2023-04-14T02:24:39.259Z return json.loads(y)
lckhn 2023-04-14T02:24:39.259Z File "/usr/local/lib/python3.8/json/init.py", line 357, in loads
lckhn 2023-04-14T02:24:39.259Z return _default_decoder.decode(s)
lckhn 2023-04-14T02:24:39.259Z File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode
lckhn 2023-04-14T02:24:39.259Z obj, end = self.raw_decode(s, idx=_w(s, 0).end())
lckhn 2023-04-14T02:24:39.259Z File "/usr/local/lib/python3.8/json/decoder.py", line 355, in raw_decode
lckhn 2023-04-14T02:24:39.259Z raise JSONDecodeError("Expecting value", s, err.value) from None
lckhn 2023-04-14T02:24:39.259Z json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
lckhn 2023-04-14T02:25:04.494Z Traceback (most recent call last):
lckhn 2023-04-14T02:25:04.494Z File "/home/user/.local/lib/python3.8/site-packages/gradio/routes.py", line 384, in run_predict
lckhn 2023-04-14T02:25:04.494Z output = await app.get_blocks().process_api(
lckhn 2023-04-14T02:25:04.494Z File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1035, in process_api
lckhn 2023-04-14T02:25:04.494Z data = self.postprocess_data(fn_index, result["prediction"], state)
lckhn 2023-04-14T02:25:04.494Z File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 972, in postprocess_data
lckhn 2023-04-14T02:25:04.494Z prediction_value = block.postprocess(prediction_value)
lckhn 2023-04-14T02:25:04.494Z File "/home/user/.local/lib/python3.8/site-packages/gradio/components.py", line 3649, in postprocess
lckhn 2023-04-14T02:25:04.494Z return json.loads(y)
lckhn 2023-04-14T02:25:04.494Z File "/usr/local/lib/python3.8/json/init.py", line 357, in loads
lckhn 2023-04-14T02:25:04.494Z return _default_decoder.decode(s)
lckhn 2023-04-14T02:25:04.494Z File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode
lckhn 2023-04-14T02:25:04.494Z obj, end = self.raw_decode(s, idx=_w(s, 0).end())
lckhn 2023-04-14T02:25:04.494Z File "/usr/local/lib/python3.8/json/decoder.py", line 355, in raw_decode
lckhn 2023-04-14T02:25:04.494Z raise JSONDecodeError("Expecting value", s, err.value) from None
lckhn 2023-04-14T02:25:04.494Z json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
lckhn 2023-04-14T02:26:58.002Z Traceback (most recent call last):
lckhn 2023-04-14T02:26:58.003Z File "/home/user/.local/lib/python3.8/site-packages/gradio/routes.py", line 384, in run_predict
lckhn 2023-04-14T02:26:58.003Z output = await app.get_blocks().process_api(
lckhn 2023-04-14T02:26:58.003Z File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1035, in process_api
lckhn 2023-04-14T02:26:58.003Z data = self.postprocess_data(fn_index, result["prediction"], state)
lckhn 2023-04-14T02:26:58.003Z File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 972, in postprocess_data
lckhn 2023-04-14T02:26:58.003Z prediction_value = block.postprocess(prediction_value)
lckhn 2023-04-14T02:26:58.003Z File "/home/user/.local/lib/python3.8/site-packages/gradio/components.py", line 3649, in postprocess
lckhn 2023-04-14T02:26:58.003Z return json.loads(y)
lckhn 2023-04-14T02:26:58.003Z File "/usr/local/lib/python3.8/json/init.py", line 357, in loads
lckhn 2023-04-14T02:26:58.003Z return _default_decoder.decode(s)
lckhn 2023-04-14T02:26:58.003Z File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode
lckhn 2023-04-14T02:26:58.003Z obj, end = self.raw_decode(s, idx=_w(s, 0).end())
lckhn 2023-04-14T02:26:58.003Z File "/usr/local/lib/python3.8/json/decoder.py", line 355, in raw_decode
lckhn 2023-04-14T02:26:58.003Z raise JSONDecodeError("Expecting value", s, err.value) from None
lckhn 2023-04-14T02:26:58.003Z json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered: