Skip to content

Commit

Permalink
openai change]
Browse files Browse the repository at this point in the history
  • Loading branch information
lokeshk-18 committed Jul 21, 2023
1 parent 1384062 commit ae2d3e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions chatgptxblock/chatgptxblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down

0 comments on commit ae2d3e3

Please sign in to comment.