Spaces:
Runtime error
Runtime error
john
commited on
Commit
·
461e953
1
Parent(s):
5da7a76
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,10 @@
|
|
1 |
import os
|
|
|
2 |
import gradio as gr
|
3 |
from llama_cpp import Llama
|
4 |
import random
|
5 |
wget https://huggingface.co/TheBloke/Nous-Hermes-13B-GGML/resolve/main/nous-hermes-13b.ggmlv3.q2_K.bin
|
|
|
6 |
llm = Llama(model_path="nous-hermes-13b.ggmlv3.q2_K.bin", seed=random.randint(1, 2**31))
|
7 |
|
8 |
with gr.Blocks() as demo:
|
|
|
1 |
import os
|
2 |
+
import wget
|
3 |
import gradio as gr
|
4 |
from llama_cpp import Llama
|
5 |
import random
|
6 |
wget https://huggingface.co/TheBloke/Nous-Hermes-13B-GGML/resolve/main/nous-hermes-13b.ggmlv3.q2_K.bin
|
7 |
+
|
8 |
llm = Llama(model_path="nous-hermes-13b.ggmlv3.q2_K.bin", seed=random.randint(1, 2**31))
|
9 |
|
10 |
with gr.Blocks() as demo:
|