RAHMAN commited on
Commit
ed3ad7d
1 Parent(s): 07ca031

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import os
2
- #from dotenv import load_dotenv
3
  import streamlit as st
4
 
5
  # from genai.credentials import Credentials
@@ -29,11 +29,11 @@ from langchain_ibm import WatsonxLLM
29
  # stop_sequences= ["Human:","AI:"],
30
  # )
31
 
32
- """api_key = os.getenv("API_KEY", None)
33
- project_id = os.getenv("PROJECT_ID", None)"""
34
 
35
- api_key="be2PIyqJbKm9LwNDRvWeA8Bp2Dc2TQt30rw2OAd-PPKf"
36
- project_id="11b29d9b-5940-41da-a2c7-86a17f270bf7"
37
  creds = {
38
  "url" : "https://us-south.ml.cloud.ibm.com",
39
  "apikey" : api_key
 
1
  import os
2
+ from dotenv import load_dotenv
3
  import streamlit as st
4
 
5
  # from genai.credentials import Credentials
 
29
  # stop_sequences= ["Human:","AI:"],
30
  # )
31
 
32
+ api_key = os.getenv("API_KEY", None)
33
+ project_id = os.getenv("PROJECT_ID", None)
34
 
35
+ """api_key="be2PIyqJbKm9LwNDRvWeA8Bp2Dc2TQt30rw2OAd-PPKf"
36
+ project_id="11b29d9b-5940-41da-a2c7-86a17f270bf7""""
37
  creds = {
38
  "url" : "https://us-south.ml.cloud.ibm.com",
39
  "apikey" : api_key