Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -47,12 +47,12 @@ def combine(a, b, c, d,e,f):
|
|
47 |
max_new_tokens = d
|
48 |
repeat_penalty = f
|
49 |
top_p = e
|
50 |
-
|
51 |
|
52 |
-
prompt = [
|
53 |
-
|
54 |
-
|
55 |
-
]
|
56 |
prompt = f"""{prompt}"""
|
57 |
start = datetime.datetime.now()
|
58 |
generation = ""
|
|
|
47 |
max_new_tokens = d
|
48 |
repeat_penalty = f
|
49 |
top_p = e
|
50 |
+
prompt = f"<|user|>\n{b}<|endoftext|>\n<|assistant|>"
|
51 |
|
52 |
+
# prompt = [
|
53 |
+
# {"role": "system", "content": SYSTEM_PROMPT} ,
|
54 |
+
# {"role": "user", "content": b},
|
55 |
+
# ]
|
56 |
prompt = f"""{prompt}"""
|
57 |
start = datetime.datetime.now()
|
58 |
generation = ""
|