Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,6 @@ def add_details(lst):
|
|
26 |
|
27 |
|
28 |
prompt_template = "Instructions: Compose a comprehensive reply to the query using the search results given. " \
|
29 |
-
"Make sure to cite results using [number] notation after the reference. " \
|
30 |
"If the search results mention multiple subjects " \
|
31 |
"with the same name, create separate answers for each. Only include information found in the results and " \
|
32 |
"don't add any additional information. Make sure the answer is correct and don't output false content. " \
|
@@ -40,8 +39,7 @@ LANGUAGES = [
|
|
40 |
"简体中文",
|
41 |
"日本語",
|
42 |
"Deutsch",
|
43 |
-
"Vietnamese"
|
44 |
-
"跟随问题语言(不稳定)"
|
45 |
]
|
46 |
def set_openai_api_key(my_api_key):
|
47 |
openai.api_key = my_api_key
|
|
|
26 |
|
27 |
|
28 |
prompt_template = "Instructions: Compose a comprehensive reply to the query using the search results given. " \
|
|
|
29 |
"If the search results mention multiple subjects " \
|
30 |
"with the same name, create separate answers for each. Only include information found in the results and " \
|
31 |
"don't add any additional information. Make sure the answer is correct and don't output false content. " \
|
|
|
39 |
"简体中文",
|
40 |
"日本語",
|
41 |
"Deutsch",
|
42 |
+
"Vietnamese"
|
|
|
43 |
]
|
44 |
def set_openai_api_key(my_api_key):
|
45 |
openai.api_key = my_api_key
|