ranamhamoud commited on
Commit
7be189a
·
verified ·
1 Parent(s): e225505

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ class Story(Document):
54
 
55
  # Utility function for prompts
56
  def make_prompt(entry):
57
- return f"### Human: Don't repeat the assesments, limit to 500 words ONLY {entry} ### Assistant:"
58
  # f"TELL A STORY, RELATE TO COMPUTER SCIENCE, INCLUDE ASSESMENTS. MAKE IT REALISTIC AND AROUND 800 WORDS, END THE STORY WITH "THE END.": {entry}"
59
 
60
  def process_text(text):
 
54
 
55
  # Utility function for prompts
56
  def make_prompt(entry):
57
+ return f"### Human: Don't repeat the assesments, limit to 1024 tokens ONLY {entry} ### Assistant:"
58
  # f"TELL A STORY, RELATE TO COMPUTER SCIENCE, INCLUDE ASSESMENTS. MAKE IT REALISTIC AND AROUND 800 WORDS, END THE STORY WITH "THE END.": {entry}"
59
 
60
  def process_text(text):