Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,11 +4,12 @@
|
|
4 |
The chatbot can remember the messages history.
|
5 |
"""
|
6 |
import gradio as gr
|
|
|
7 |
from ctransformers import AutoModelForCausalLM
|
8 |
|
9 |
-
|
10 |
-
|
11 |
-
model_path = "TheBloke/dolphin-2.7-mixtral-8x7b-GGUF"
|
12 |
#"TheBloke/Wizard-Vicuna-7B-Uncensored-GGML"
|
13 |
|
14 |
|
|
|
4 |
The chatbot can remember the messages history.
|
5 |
"""
|
6 |
import gradio as gr
|
7 |
+
from dl_hf_model import dl_hf_model
|
8 |
from ctransformers import AutoModelForCausalLM
|
9 |
|
10 |
+
model_path= dl_hf_model("https://huggingface.co/TheBloke/dolphin-2.7-mixtral-8x7b-GGUF/blob/main/dolphin-2.7-mixtral-8x7b.Q2_K.gguf")
|
11 |
+
model_path[0]
|
12 |
+
#model_path = "TheBloke/dolphin-2.7-mixtral-8x7b-GGUF"
|
13 |
#"TheBloke/Wizard-Vicuna-7B-Uncensored-GGML"
|
14 |
|
15 |
|