Spaces:
Running
Running
mostafaamiri
commited on
Commit
•
3a434b6
1
Parent(s):
b361fd5
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ llm = LlamaCpp(
|
|
27 |
|
28 |
prompt = """Below is an instruction that describes a task.
|
29 |
Write a response that appropriately completes the request.\n\n
|
30 |
-
### Instruction:\n\n{}\n\n
|
31 |
def generate_output(text):
|
32 |
result = ""
|
33 |
for s in llm.stream(prompt.format(text)):
|
|
|
27 |
|
28 |
prompt = """Below is an instruction that describes a task.
|
29 |
Write a response that appropriately completes the request.\n\n
|
30 |
+
### Instruction:\n\n{}\n\n\n### Response:\n\n\n"""
|
31 |
def generate_output(text):
|
32 |
result = ""
|
33 |
for s in llm.stream(prompt.format(text)):
|