Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,9 +4,8 @@ from huggingface_hub import login
|
|
4 |
def run_ollama(prompt,token=""):
|
5 |
# Login to Hugging Face
|
6 |
login(token=token)
|
7 |
-
|
8 |
# Load and run the model
|
9 |
-
model = ollama.load_model("
|
10 |
response = model.run("Why is the sky blue")
|
11 |
print(response)
|
12 |
return response
|
|
|
4 |
def run_ollama(prompt,token=""):
|
5 |
# Login to Hugging Face
|
6 |
login(token=token)
|
|
|
7 |
# Load and run the model
|
8 |
+
model = ollama.load_model("mlabonne/Meta-Llama-3.1-8B-Instruct-abliterated-GGUF")
|
9 |
response = model.run("Why is the sky blue")
|
10 |
print(response)
|
11 |
return response
|