Spaces:
Build error
Build error
MarcoAland
commited on
Commit
•
0f820ab
1
Parent(s):
faa98c7
Upload setup.sh
Browse files
setup.sh
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
wget https://raw.githubusercontent.com/MarcoAlandAdinanda/AIC_TriwiraData/main/deployments/RAGModule.py
|
4 |
+
wget https://raw.githubusercontent.com/MarcoAlandAdinanda/AIC_TriwiraData/main/deployments/app.py
|
5 |
+
gdown https://drive.google.com/drive/folders/1wXwk4RJ7PSxJBA_d9ZjaPlA6tu-e5jjO -O data --folder
|
6 |
+
|
7 |
+
pip install colab-xterm
|
8 |
+
pip install gradio
|
9 |
+
pip install ollama
|
10 |
+
pip install llama-cloud==0.0.13
|
11 |
+
pip install llama-index==0.10.64
|
12 |
+
pip install llama-index-embeddings-huggingface==0.2.3
|
13 |
+
pip install llama-index-cli==0.1.13
|
14 |
+
pip install llama-index-core==0.10.64
|
15 |
+
pip install llama-index-legacy==0.9.48
|
16 |
+
pip install llama-index-readers-file==0.1.33
|
17 |
+
pip install llama-index-readers-llama-parse==0.1.6
|
18 |
+
pip install llama-parse==0.4.9
|
19 |
+
|
20 |
+
curl -fsSL https://ollama.com/install.sh | sh
|
21 |
+
nohup ollama serve &
|