For some reason I can only get it partially worked.
To help you, it would be very useful to know whether you are working on the Notebook within the DeepLearning platform or locally.
I was working locally on my pc using jupyter notebook.
If I understood correctly:
- you are running locally the last two snippet codes that are enclosed in the
paragraph "Essay Writer Interface" of the Notebook of DeepLearning. - After that, when you are trying to use the application, and click the buttom
essay writer, you got the scheenshot that you shared.
My suggestion is to have a look at the output that you have on your jupyter notebook when you launch
import warnings
warnings.filterwarnings("ignore")
from helper import ewriter, writer_gui
At least in my case, you should see a message about langchain_core.pydantic_v1 and further an advise to switch to pydantic.
Therefore, you should change the import and modify also the helper.py file. If you do this, your application will work correctly.
Takeway : Focus on the messages that are diplayed in the outputs on your Python Notebook.
If you would like to share also these schreenshots, I could give you more insight how to solve the issue.
