Spaces:
Runtime error
Runtime error
broadfield-dev
commited on
Update app.py
Browse files
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):
|