Spaces:
Sleeping
Sleeping
yuvaranianandhan24
commited on
Commit
•
7545cb8
1
Parent(s):
eae6ddf
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ llm = HuggingFaceHub(
|
|
31 |
huggingfacehub_api_token = api_token,
|
32 |
repo_id = model,
|
33 |
verbose = False,
|
34 |
-
model_kwargs = {"temperature":0.2, "max_new_tokens":
|
35 |
|
36 |
def generate_story(scenario, llm):
|
37 |
template= """You are a story teller.
|
|
|
31 |
huggingfacehub_api_token = api_token,
|
32 |
repo_id = model,
|
33 |
verbose = False,
|
34 |
+
model_kwargs = {"temperature":0.2, "max_new_tokens": 4000})
|
35 |
|
36 |
def generate_story(scenario, llm):
|
37 |
template= """You are a story teller.
|