Restore() missing 1 argument

TypeError: restore() missing 1 required positional argument: ‘self’
File “/home/saireddy/anaconda3/lib/python3.7/site-packages/streamlit/”, line 311, in _run_script exec(code, module.dict)
File “/home/saireddy/Documents/streamlit/self/”, line 13, in saver.restore(sess=sess,save_path=“save/model.ckpt”)

I’m restoring the model in the python script to run this model on the web app but it’s showing this error what should be the solution of it.

Hi @Pradeep_Rajpurohit,

Can you post the code you’re using to call the restore function?

I have a guess about what’s happening, but it’ll be easier to help you if we can see your code.