fix : jsonify problem in server
This commit is contained in:
1 parent
75ac1631c4
commit
8106cff45f
2 files changed
+2
No files matched your search
@@ -41,6 +41,7 @@ class GeneratorLLM():
|
||||
|
||||
def get_status(self) -> dict:
|
||||
with self.state.lock:
|
||||
print("Returning status:\n", self.state.status())
|
||||
return jsonify(self.state.status())
|
||||
|
||||
@abstractmethod
|
||||
|
||||
Reference in new issue
Block a user