The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
fix: specify UTF-8 encoding when reading subgraph files (#12563)
Alexander Brown7591d781a7a1
diff --git a/app/subgraph_manager.py b/app/subgraph_manager.pyindex 6a8f586a4..08ad8c302 100644--- a/app/subgraph_manager.py+++ b/app/subgraph_manager.py@@ -53,7 +53,7 @@ class SubgraphManager:return entry_id, entryasync def load_entry_data(self, entry: SubgraphEntry):- with open(entry['path'], 'r') as f:+ with open(entry['path'], 'r', encoding='utf-8') as f:entry['data'] = f.read()return entry