Spaces:
Runtime error
Runtime error
Fixed application file
Browse files
app.py
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import hf_hub_download
|
3 |
-
from llama_cpp import Llama
|
4 |
|
5 |
hf_hub_download(repo_id="LLukas22/gpt4all-lora-quantized-ggjt", filename="ggjt-model.bin", local_dir=".")
|
6 |
llm = Llama(model_path="./ggjt-model.bin")
|
7 |
|
|
|
|
|
8 |
fixed_instruction = "You are a healthcare bot designed to give advice for the prevention and treatment of various illnesses."
|
9 |
|
10 |
def respond(message):
|
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import hf_hub_download
|
|
|
3 |
|
4 |
hf_hub_download(repo_id="LLukas22/gpt4all-lora-quantized-ggjt", filename="ggjt-model.bin", local_dir=".")
|
5 |
llm = Llama(model_path="./ggjt-model.bin")
|
6 |
|
7 |
+
from llama_cpp import Llama
|
8 |
+
|
9 |
fixed_instruction = "You are a healthcare bot designed to give advice for the prevention and treatment of various illnesses."
|
10 |
|
11 |
def respond(message):
|