Spaces:
Running
Running
YaTharThShaRma999
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ if __name__ == "__main__":
|
|
25 |
print(f"Number of threads available to the current process: {num_threads}")
|
26 |
#url = 'https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML/resolve/main/llama-2-7b-chat.ggmlv3.q2_K.bin'
|
27 |
#filename = wget.download(url)
|
28 |
-
model_path= hf_hub_download(repo_id="
|
29 |
|
30 |
llm2 = Llama(model_path=model_path, seed=random.randint(1, 2**31), use_mlock=False, n_threads=4)
|
31 |
theme = gr.themes.Soft(
|
|
|
25 |
print(f"Number of threads available to the current process: {num_threads}")
|
26 |
#url = 'https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML/resolve/main/llama-2-7b-chat.ggmlv3.q2_K.bin'
|
27 |
#filename = wget.download(url)
|
28 |
+
model_path= hf_hub_download(repo_id="TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF", filename="tinyllama-1.1b-chat-v1.0.Q4_0.gguf")
|
29 |
|
30 |
llm2 = Llama(model_path=model_path, seed=random.randint(1, 2**31), use_mlock=False, n_threads=4)
|
31 |
theme = gr.themes.Soft(
|