Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from langchain.llms import CTransformers
|
|
| 3 |
from langchain.prompts import PromptTemplate
|
| 4 |
from transformers import AutoModelForCausalLM
|
| 5 |
|
| 6 |
-
model = AutoModelForCausalLM.from_pretrained("
|
| 7 |
|
| 8 |
## Function to get response form the LLama2 Model
|
| 9 |
def getLLamaResponse(input_text, no_of_words, blog_style):
|
|
|
|
| 3 |
from langchain.prompts import PromptTemplate
|
| 4 |
from transformers import AutoModelForCausalLM
|
| 5 |
|
| 6 |
+
model = AutoModelForCausalLM.from_pretrained("TheBloke/Llama-2-7B-Chat-GGML")
|
| 7 |
|
| 8 |
## Function to get response form the LLama2 Model
|
| 9 |
def getLLamaResponse(input_text, no_of_words, blog_style):
|