Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,6 @@ from ibm_watsonx_ai.metanames import GenTextReturnOptMetaNames as RetParams
|
|
| 13 |
from secretsload import load_stsecrets
|
| 14 |
|
| 15 |
credentials = load_stsecrets()
|
| 16 |
-
print(credentials)
|
| 17 |
|
| 18 |
st.set_page_config(
|
| 19 |
page_title="Jimmy the Jailbreak",
|
|
@@ -63,8 +62,6 @@ def setup_client():
|
|
| 63 |
url=st.secrets["url"],
|
| 64 |
api_key=st.secrets["api_key"]
|
| 65 |
)
|
| 66 |
-
apo = st.secrets["api_key"]
|
| 67 |
-
print(apo)
|
| 68 |
return APIClient(credentials, project_id=st.secrets["project_id"])
|
| 69 |
|
| 70 |
def prepare_prompt(prompt, chat_history):
|
|
|
|
| 13 |
from secretsload import load_stsecrets
|
| 14 |
|
| 15 |
credentials = load_stsecrets()
|
|
|
|
| 16 |
|
| 17 |
st.set_page_config(
|
| 18 |
page_title="Jimmy the Jailbreak",
|
|
|
|
| 62 |
url=st.secrets["url"],
|
| 63 |
api_key=st.secrets["api_key"]
|
| 64 |
)
|
|
|
|
|
|
|
| 65 |
return APIClient(credentials, project_id=st.secrets["project_id"])
|
| 66 |
|
| 67 |
def prepare_prompt(prompt, chat_history):
|