Skip to content

Commit

Permalink
yaml change path
Browse files Browse the repository at this point in the history
  • Loading branch information
lokeshk-18 committed Jul 21, 2023
1 parent a831ee6 commit b92dde9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chatgptxblock/chatgptxblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class ChatgptXBlock(StudioEditableXBlockMixin, XBlock):
# xblock_settings = get_xblock_settings()
# Define the fields of the XBlock
with open('/Users/lokeshk/Library/Application Support/tutor/config.yml', 'r') as config_file:
with open('/Users/lokeshk/chat-config/config.yml', 'r') as config_file:
config = yaml.safe_load(config_file)
xblock_settings = config.get('XBLOCK_SETTINGS', {}).get('xblocks-chatgpt', {})
print(xblock_settings)
Expand Down

0 comments on commit b92dde9

Please sign in to comment.