Skip to content

Commit

Permalink
πŸ› fix: Fix encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Nov 29, 2023
1 parent b0bc847 commit a308dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lib/prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def load_prompt(self):
if os.path.exists(self.prompt_file):
LobeLog.debug(f"Loading prompt from prompt.json")

with open(self.prompt_file, 'r') as f:
with open(self.prompt_file, 'r', encoding='utf-8') as f:
self.prompt = json.load(f)
else:
LobeLog.debug(f"Prompt file not found")
Expand Down

0 comments on commit a308dab

Please sign in to comment.