Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ login(token=access_token)
|
|
| 12 |
|
| 13 |
# from transformers import pipeline
|
| 14 |
# model = pipeline("text-generation", model="TheBloke/Llama-2-7B-Chat-GGML")
|
| 15 |
-
model = AutoModelForCausalLM.from_pretrained("
|
| 16 |
|
| 17 |
## Function to get response form the LLama2 Model
|
| 18 |
def getLLamaResponse(input_text, no_of_words, blog_style):
|
|
|
|
| 12 |
|
| 13 |
# from transformers import pipeline
|
| 14 |
# model = pipeline("text-generation", model="TheBloke/Llama-2-7B-Chat-GGML")
|
| 15 |
+
model = AutoModelForCausalLM.from_pretrained("TheBloke/Llama-2-7B-Chat-GGML")
|
| 16 |
|
| 17 |
## Function to get response form the LLama2 Model
|
| 18 |
def getLLamaResponse(input_text, no_of_words, blog_style):
|