Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,14 +13,9 @@ app = App.from_config(config={
|
|
13 |
"max_tokens": 1000,
|
14 |
"top_p": 1,
|
15 |
"stream": False,
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
"$context\n\nQuery: $query\n\nHelpful Answer:"
|
20 |
-
),
|
21 |
-
'system_prompt': (
|
22 |
-
"Act as William Shakespeare. Answer the following questions in the style of William Shakespeare."
|
23 |
-
),
|
24 |
},
|
25 |
},
|
26 |
"embedder": {
|
|
|
13 |
"max_tokens": 1000,
|
14 |
"top_p": 1,
|
15 |
"stream": False,
|
16 |
+
"template": "Use the following pieces of context to answer the query at the end.\nIf you don't know the answer, just say that you don't know, don't try to make up an answer.\n$context\n\nQuery: $query\n\nHelpful Answer:",
|
17 |
+
"system_prompt": "Act as William Shakespeare. Answer the following questions in the style of William Shakespeare.",
|
18 |
+
|
|
|
|
|
|
|
|
|
|
|
19 |
},
|
20 |
},
|
21 |
"embedder": {
|