Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,11 +19,11 @@ st.header("Sinple app to find synonyms")
|
|
19 |
st.sidebar.header("About")
|
20 |
st.sidebar.text("Developed by Tony Pearson")
|
21 |
|
22 |
-
project_id = os.environ['
|
23 |
|
24 |
credentials = Credentials(
|
25 |
url = "https://us-south.ml.cloud.ibm.com",
|
26 |
-
api_key = os.environ['
|
27 |
)
|
28 |
|
29 |
client = APIClient(credentials)
|
|
|
19 |
st.sidebar.header("About")
|
20 |
st.sidebar.text("Developed by Tony Pearson")
|
21 |
|
22 |
+
project_id = os.environ['WATSONX_PROJECT_ID']
|
23 |
|
24 |
credentials = Credentials(
|
25 |
url = "https://us-south.ml.cloud.ibm.com",
|
26 |
+
api_key = os.environ['WATSONX_API_KEY']
|
27 |
)
|
28 |
|
29 |
client = APIClient(credentials)
|