Skip to content

Commit 3b33801

Browse files
committed
fix: [images engine] typo
1 parent d9fcbf5 commit 3b33801

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

bin/lib/images_engine.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ def get_domain_description(domain_id):
9494
return None, 200
9595

9696
descriptions = '\n\nImage Description:'.join(descriptions)
97-
print(descriptions)
9897
headers = {"Connection": "close", 'Content-Type': 'application/json', 'Accept': 'application/json'}
9998
try:
10099
res = requests.post(f'{OLLAMA_URL}/api/generate', data=create_ollama_domain_data(model, descriptions), headers=headers)
@@ -112,8 +111,8 @@ def get_domain_description(domain_id):
112111

113112
def _create_domains_up_description():
114113
for domain in Domains.get_domain_up_iterator():
115-
get_domain_description(domain)
114+
print(get_domain_description(domain))
116115

117116

118117
if __name__ == '__main__':
119-
print(_create_domain_up_description())
118+
_create_domains_up_description()

0 commit comments

Comments
 (0)