Spaces:
Sleeping
Sleeping
turned qa into a global variable
Browse files
app.py
CHANGED
@@ -14,6 +14,8 @@ from langchain.llms import HuggingFaceHub
|
|
14 |
flan_ul2 = HuggingFaceHub(repo_id="HuggingFaceH4/zephyr-7b-beta", model_kwargs={"temperature":0.1, "max_new_tokens":300})
|
15 |
# flan_ul2 = OpenAI()
|
16 |
|
|
|
|
|
17 |
from langchain.embeddings import HuggingFaceHubEmbeddings
|
18 |
embeddings = HuggingFaceHubEmbeddings()
|
19 |
|
|
|
14 |
flan_ul2 = HuggingFaceHub(repo_id="HuggingFaceH4/zephyr-7b-beta", model_kwargs={"temperature":0.1, "max_new_tokens":300})
|
15 |
# flan_ul2 = OpenAI()
|
16 |
|
17 |
+
global qa
|
18 |
+
|
19 |
from langchain.embeddings import HuggingFaceHubEmbeddings
|
20 |
embeddings = HuggingFaceHubEmbeddings()
|
21 |
|