yashwanthputikam99 commited on
Commit
bfe06a4
·
verified ·
1 Parent(s): c088718

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ from ibm_watsonx_ai.foundation_models import Model
4
 
5
  def get_credentials():
6
  # Simulating the input of API key 'abc123456'
7
- apikey = 'oRiRYiA8-HRtYpM4N5PGbIyxmqCb8q9VBuQHgzRTxIFi'
8
  return {
9
  "url": "https://us-south.ml.cloud.ibm.com",
10
  "apikey": apikey
@@ -37,7 +37,7 @@ if st.button('Generate Code'):
37
  model_id=model_id,
38
  params=parameters,
39
  credentials=credentials,
40
- project_id="78275590-aa27-4c1e-a426-f39640aa0003",
41
  )
42
 
43
  # Generate response based on the prompt
 
4
 
5
  def get_credentials():
6
  # Simulating the input of API key 'abc123456'
7
+ apikey = '8hN8Zzpz_TcbC1E4hqZpSSATrH7RPon0t5Fa4eVVtP9d'
8
  return {
9
  "url": "https://us-south.ml.cloud.ibm.com",
10
  "apikey": apikey
 
37
  model_id=model_id,
38
  params=parameters,
39
  credentials=credentials,
40
+ project_id="eb2237d8-f81e-4c03-a952-8510fce2ca46",
41
  )
42
 
43
  # Generate response based on the prompt