pratikshahp commited on
Commit
53d50f0
·
verified ·
1 Parent(s): 8c7ccda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,14 +16,14 @@ llm = HuggingFaceEndpoint(
16
  repo_id="mistralai/Mistral-7B-Instruct-v0.3",
17
  huggingfacehub_api_token=HF_TOKEN,
18
  temperature=0.7,
19
- max_new_tokens=500
20
  )
21
 
22
  # Define a prompt template for generating a blog
23
  TEMPLATE = """
24
  Write a detailed blog post on the following topic:
25
  Topic: {topic}
26
- Make sure the blog post is informative, engaging, well-structured, and complete in 450 words.
27
  """
28
 
29
  # Create a prompt template instance
 
16
  repo_id="mistralai/Mistral-7B-Instruct-v0.3",
17
  huggingfacehub_api_token=HF_TOKEN,
18
  temperature=0.7,
19
+ max_new_tokens=700
20
  )
21
 
22
  # Define a prompt template for generating a blog
23
  TEMPLATE = """
24
  Write a detailed blog post on the following topic:
25
  Topic: {topic}
26
+ Make sure the blog post is informative, engaging, well-structured, and complete in 500 words only.
27
  """
28
 
29
  # Create a prompt template instance