Spaces:
Paused
Paused
ranamhamoud
commited on
Commit
โข
6caf62f
1
Parent(s):
89044b5
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ if torch.cuda.is_available():
|
|
51 |
|
52 |
# Utility function for prompts
|
53 |
def make_prompt(entry):
|
54 |
-
return f"### Human: Don't repeat the assesments, limit to 500 words {entry} ### Assistant:"
|
55 |
# f"TELL A STORY, RELATE TO COMPUTER SCIENCE, INCLUDE ASSESMENTS. MAKE IT REALISTIC AND AROUND 800 WORDS, END THE STORY WITH "THE END.": {entry}"
|
56 |
|
57 |
def process_text(text):
|
|
|
51 |
|
52 |
# Utility function for prompts
|
53 |
def make_prompt(entry):
|
54 |
+
return f"### Human: When asked to explain use a story.Don't repeat the assesments, limit to 500 words.However keep context in mind if edits to the content is required. {entry} ### Assistant:"
|
55 |
# f"TELL A STORY, RELATE TO COMPUTER SCIENCE, INCLUDE ASSESMENTS. MAKE IT REALISTIC AND AROUND 800 WORDS, END THE STORY WITH "THE END.": {entry}"
|
56 |
|
57 |
def process_text(text):
|