broadfield-dev commited on
Commit
9d8e1ca
·
verified ·
1 Parent(s): ec49f72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,7 +1,8 @@
1
  import gradio as gr
2
  import os
3
  os.system("pip install ollama")
4
-
 
5
  from ollama import chat
6
 
7
  def chat_with_ollama(prompt):
 
1
  import gradio as gr
2
  import os
3
  os.system("pip install ollama")
4
+ import ollama
5
+ ollama.pull('llama3.2')
6
  from ollama import chat
7
 
8
  def chat_with_ollama(prompt):