Update app.py
Browse filesAdd:
from huggingface_hub import hf_hub_download
from langchain_community.llms import LlamaCpp
app.py
CHANGED
|
@@ -16,6 +16,8 @@ from langchain_community.embeddings import HuggingFaceEmbeddings
|
|
| 16 |
import torch
|
| 17 |
|
| 18 |
from huggingface_hub import HfFolder
|
|
|
|
|
|
|
| 19 |
import gradio as gr
|
| 20 |
|
| 21 |
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline, BitsAndBytesConfig
|
|
|
|
| 16 |
import torch
|
| 17 |
|
| 18 |
from huggingface_hub import HfFolder
|
| 19 |
+
from huggingface_hub import hf_hub_download
|
| 20 |
+
from langchain_community.llms import LlamaCpp
|
| 21 |
import gradio as gr
|
| 22 |
|
| 23 |
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline, BitsAndBytesConfig
|