Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from huggingface_hub import hf_hub_download #load from huggingfaces
|
|
| 8 |
|
| 9 |
llm = Llama(model_path= hf_hub_download(repo_id="TheBloke/airoboros-l2-13b-gpt4-m2.0-GGML", filename="airoboros-l2-13b-gpt4-m2.0.ggmlv3.q6_K.bin"), n_ctx=2048) #download model from hf/ n_ctx=2048 for high ccontext length
|
| 10 |
|
| 11 |
-
history =
|
| 12 |
|
| 13 |
def generate_text(input_text, history):
|
| 14 |
print("history ",history)
|
|
|
|
| 8 |
|
| 9 |
llm = Llama(model_path= hf_hub_download(repo_id="TheBloke/airoboros-l2-13b-gpt4-m2.0-GGML", filename="airoboros-l2-13b-gpt4-m2.0.ggmlv3.q6_K.bin"), n_ctx=2048) #download model from hf/ n_ctx=2048 for high ccontext length
|
| 10 |
|
| 11 |
+
history = []
|
| 12 |
|
| 13 |
def generate_text(input_text, history):
|
| 14 |
print("history ",history)
|