Spaces:
Running
Running
admin
commited on
Commit
·
70a2dde
1
Parent(s):
56885ea
upd api hint
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def predict(
|
|
15 |
top_p,
|
16 |
):
|
17 |
if not api_key:
|
18 |
-
return "Please set api key."
|
19 |
|
20 |
# Format history with a given chat template
|
21 |
msgs = [{"role": "system", "content": system_prompt}]
|
|
|
15 |
top_p,
|
16 |
):
|
17 |
if not api_key:
|
18 |
+
return "Please set the api key in settings."
|
19 |
|
20 |
# Format history with a given chat template
|
21 |
msgs = [{"role": "system", "content": system_prompt}]
|