Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def load_model():
|
|
| 22 |
|
| 23 |
flan_ul = HuggingFaceHub(repo_id="google/flan-ul2",
|
| 24 |
model_kwargs={"temperature":0.1, "max_new_tokens":200},
|
| 25 |
-
huggingfacehub_api_token="
|
| 26 |
|
| 27 |
qa_chain = get_new_chain1(vectorstore, flan_ul, flan_ul, isFlan=True)
|
| 28 |
return qa_chain
|
|
|
|
| 22 |
|
| 23 |
flan_ul = HuggingFaceHub(repo_id="google/flan-ul2",
|
| 24 |
model_kwargs={"temperature":0.1, "max_new_tokens":200},
|
| 25 |
+
huggingfacehub_api_token="")
|
| 26 |
|
| 27 |
qa_chain = get_new_chain1(vectorstore, flan_ul, flan_ul, isFlan=True)
|
| 28 |
return qa_chain
|