From ae2d3e38634606ad45676bb330c0892981e5a85d Mon Sep 17 00:00:00 2001 From: lokeshk-incresco Date: Fri, 21 Jul 2023 15:16:50 +0530 Subject: [PATCH] openai change] --- chatgptxblock/chatgptxblock.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/chatgptxblock/chatgptxblock.py b/chatgptxblock/chatgptxblock.py index ac08afe..872ac49 100644 --- a/chatgptxblock/chatgptxblock.py +++ b/chatgptxblock/chatgptxblock.py @@ -13,14 +13,14 @@ class ChatgptXBlock(StudioEditableXBlockMixin, XBlock): xblock_settings = get_xblock_settings() # Define the fields of the XBlock - print(xblock_settings) - d_name=settings.DISPLAY_NAME + # print(xblock_settings) print(settings) + # d_name=settings.DISPLAY_NAME display_name = String( display_name="Display Name", help="Display name for this module", - # default=xblock_settings.get("display_name"), - default=d_name, + default=xblock_settings.get("display_name"), + # default=d_name, scope=Scope.settings, )