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
After I run the "streamlit run NLPfily.py" and get the webpage, there is a jsondecodeerror raised when I choose the service.
I don't know how to solve it, the error is below:
could you please help me ?
File "/home/test/ENTER/lib/python3.8/site-packages/streamlit/script_runner.py", line 332, in _run_script
exec(code, module.dict)
File "/home/test/insight-master/src_streamlit/NLPfiy.py", line 130, in
main()
File "/home/test/insight-master/src_streamlit/NLPfiy.py", line 116, in main
model_details = apicall.model_list(service=service)
File "/home/test/insight-master/src_streamlit/NLPfiy.py", line 24, in model_list
return json.loads(models.text)
File "/home/test/ENTER/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/home/test/ENTER/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/home/test/ENTER/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
The text was updated successfully, but these errors were encountered:
After I run the "streamlit run NLPfily.py" and get the webpage, there is a jsondecodeerror raised when I choose the service.
I don't know how to solve it, the error is below:
could you please help me ?
File "/home/test/ENTER/lib/python3.8/site-packages/streamlit/script_runner.py", line 332, in _run_script
exec(code, module.dict)
File "/home/test/insight-master/src_streamlit/NLPfiy.py", line 130, in
main()
File "/home/test/insight-master/src_streamlit/NLPfiy.py", line 116, in main
model_details = apicall.model_list(service=service)
File "/home/test/insight-master/src_streamlit/NLPfiy.py", line 24, in model_list
return json.loads(models.text)
File "/home/test/ENTER/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/home/test/ENTER/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/home/test/ENTER/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
The text was updated successfully, but these errors were encountered: