mirror of
https://github.com/ollama/ollama.git
synced 2025-05-12 19:07:06 +02:00
Update and Fix example models (#6065)
* Update example models * Remove unused README.md
This commit is contained in:
parent
1a83581a8e
commit
0be8baad2b
19 changed files with 32 additions and 24 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue