Spaces:
Paused
Paused
Update app.py
Browse files
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
|
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):
|