fix : none generator error

This commit is contained in:
martin legrand
2025-03-29 12:29:38 +01:00
parent 8106cff45f
commit 18f23db0fa
3 changed files with 3 additions and 3 deletions
-1
View File
@@ -121,7 +121,6 @@ class Provider:
is_complete = False
while not is_complete:
response = requests.get(f"http://{self.server_ip}/get_updated_sentence")
print("raw:", response.json())
thought = response.json()["sentence"]
is_complete = bool(response.json()["is_complete"])
time.sleep(2)