isayahc commited on
Commit
fe87044
1 Parent(s): 9c25f99

turned qa into a global variable

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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