broadfield-dev commited on
Commit
e689ec4
·
verified ·
1 Parent(s): 31e37b5

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -15
app.py DELETED
@@ -1,15 +0,0 @@
1
- import ollama
2
- from huggingface_hub import login
3
-
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
12
-
13
- if __name__ == "__main__":
14
- response = run_ollama()
15
- print(response)