farjadmalik commited on
Commit
c711995
·
1 Parent(s): 2f86687

add Ollama to hgface

Browse files
Files changed (2) hide show
  1. .huggingface.yml +2 -0
  2. start.sh +9 -0
.huggingface.yml ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ sdk: gradio
2
+ start_command: bash start.sh
start.sh ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # install Ollama
3
+ curl -sSfL https://ollama.ai/install.sh | sh
4
+
5
+ # optionally pull a model
6
+ ollama pull llama3
7
+
8
+ # then start your app
9
+ python app.py