Spaces:
Running
Running
john
commited on
Commit
·
2ee2797
1
Parent(s):
626a520
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ if __name__ == "__main__":
|
|
23 |
print(f"Number of threads available to the current process: {num_threads}")
|
24 |
url = 'https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML/resolve/main/llama-2-7b-chat.ggmlv3.q2_K.bin'
|
25 |
filename = wget.download(url)
|
26 |
-
llm2 = Llama(model_path=filename, seed=random.randint(1, 2**31) lora_path="ggml-adapter-model (1).bin")
|
27 |
filename = wget.download(url)
|
28 |
theme = gr.themes.Soft(
|
29 |
primary_hue=gr.themes.Color("#ededed", "#fee2e2", "#fecaca", "#fca5a5", "#f87171", "#ef4444", "#dc2626", "#b91c1c", "#991b1b", "#7f1d1d", "#6c1e1e"),
|
|
|
23 |
print(f"Number of threads available to the current process: {num_threads}")
|
24 |
url = 'https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML/resolve/main/llama-2-7b-chat.ggmlv3.q2_K.bin'
|
25 |
filename = wget.download(url)
|
26 |
+
llm2 = Llama(model_path=filename, seed=random.randint(1, 2**31), lora_path="ggml-adapter-model (1).bin")
|
27 |
filename = wget.download(url)
|
28 |
theme = gr.themes.Soft(
|
29 |
primary_hue=gr.themes.Color("#ededed", "#fee2e2", "#fecaca", "#fca5a5", "#f87171", "#ef4444", "#dc2626", "#b91c1c", "#991b1b", "#7f1d1d", "#6c1e1e"),
|