Skip to content

Commit

Permalink
runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
lokeshk-18 committed Jul 23, 2023
1 parent 491b58e commit b27694c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chatgptxblock/chatgptxblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ class ChatgptXBlock(StudioEditableXBlockMixin, XBlock):
# print(xblock_settings)
# print(settings)
# d_name=settings.DISPLAY_NAME
print("hi",Scope)
# print("hi",Scope)
display_name = String(
display_name="Display Name",
help="Display name for this module",
# default=xblock_settings.get("display_name"),
default=Scope.settings.OPENAI_SECRET_KEY,
default='',
scope=Scope.settings,
)

Expand Down Expand Up @@ -62,7 +62,7 @@ class ChatgptXBlock(StudioEditableXBlockMixin, XBlock):
editable_fields = [
'display_name',
# 'model_name',
# 'api_key',
'api_key',
# 'description',
# 'context_text',
]
Expand Down

0 comments on commit b27694c

Please sign in to comment.