Spaces:
Runtime error
Runtime error
Commit
·
6183297
1
Parent(s):
8e7eb4c
Update app.py
Browse files
app.py
CHANGED
@@ -8,10 +8,10 @@ from dotenv import load_dotenv
|
|
8 |
load_dotenv()
|
9 |
|
10 |
|
11 |
-
HUGGINGFACEHUB_API_TOKEN = os.getenv("
|
12 |
|
13 |
repo_id = "tiiuae/falcon-7b-instruct"
|
14 |
-
llm = HuggingFaceHub(huggingfacehub_api_token=
|
15 |
repo_id=repo_id,
|
16 |
model_kwargs={"temperature":0.7, "max_new_tokens":700})
|
17 |
|
|
|
8 |
load_dotenv()
|
9 |
|
10 |
|
11 |
+
HUGGINGFACEHUB_API_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
12 |
|
13 |
repo_id = "tiiuae/falcon-7b-instruct"
|
14 |
+
llm = HuggingFaceHub(huggingfacehub_api_token=HUGGINGFACEHUB_API_TOKEN,
|
15 |
repo_id=repo_id,
|
16 |
model_kwargs={"temperature":0.7, "max_new_tokens":700})
|
17 |
|