Update and Fix example models (#6065)

* Update example models

* Remove unused README.md
This commit is contained in:
Kim Hallberg 2024-07-30 08:56:37 +02:00 committed by GitHub
parent 1a83581a8e
commit 0be8baad2b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 32 additions and 24 deletions

View file

@ -4,7 +4,7 @@ imageName = input("Enter the name of the image: ")
client = docker.from_env()
s = requests.Session()
output=""
with s.post('http://localhost:11434/api/generate', json={'model': 'dockerit', 'prompt': inputDescription}, stream=True) as r:
with s.post('http://localhost:11434/api/generate', json={'model': 'mattw/dockerit', 'prompt': inputDescription}, stream=True) as r:
for line in r.iter_lines():
if line:
j = json.loads(line)