Spaces:
Paused
Paused
ranamhamoud
commited on
Commit
โข
ee2cfaf
1
Parent(s):
92b300c
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ if torch.cuda.is_available():
|
|
42 |
|
43 |
|
44 |
def make_prompt(entry):
|
45 |
-
return f"### Human: YOUR INSTRUCTION HERE,ONLY TELL A STORY: {entry} ### Assistant:"
|
46 |
|
47 |
@spaces.GPU
|
48 |
def generate(
|
@@ -94,6 +94,8 @@ chat_interface = gr.ChatInterface(
|
|
94 |
stop_btn=None,
|
95 |
examples=[
|
96 |
["Can you explain briefly to me what is the Python programming language?"],
|
|
|
|
|
97 |
],
|
98 |
)
|
99 |
|
|
|
42 |
|
43 |
|
44 |
def make_prompt(entry):
|
45 |
+
return f"### Human: YOUR INSTRUCTION HERE,ONLY TELL A STORY,INCLUDE AT LEAST TWO ASSESMENTS: {entry} ### Assistant:"
|
46 |
|
47 |
@spaces.GPU
|
48 |
def generate(
|
|
|
94 |
stop_btn=None,
|
95 |
examples=[
|
96 |
["Can you explain briefly to me what is the Python programming language?"],
|
97 |
+
["I'm curious about Merge Sort."],
|
98 |
+
["Teach me about conditionals."]
|
99 |
],
|
100 |
)
|
101 |
|