Skip to content

Commit

Permalink
key
Browse files Browse the repository at this point in the history
  • Loading branch information
lokeshk-18 committed Jul 21, 2023
1 parent ae2d3e3 commit 3034fad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chatgptxblock/chatgptxblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ChatgptXBlock(StudioEditableXBlockMixin, XBlock):
xblock_settings = get_xblock_settings()
# Define the fields of the XBlock
# print(xblock_settings)
print(settings)
# print(settings)
# d_name=settings.DISPLAY_NAME
display_name = String(
display_name="Display Name",
Expand All @@ -36,7 +36,7 @@ class ChatgptXBlock(StudioEditableXBlockMixin, XBlock):
)

api_key = String(
default="",
default="njdn3bfhbi",
scope=Scope.settings,
help="Your OpenAI API key, which can be found at <a href='https://platform.openai.com/account/api-keys' target='_blank'>https://platform.openai.com/account/api-keys</a>",
)
Expand Down

0 comments on commit 3034fad

Please sign in to comment.