Shivanshutripathi commited on
Commit
6f0de90
·
verified ·
1 Parent(s): fa6322b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -10
app.py CHANGED
@@ -23,15 +23,6 @@ from langchain import OpenAI
23
 
24
 
25
 
26
- print(os.getenv('dbname'),"1", type(os.getenv('dbname')))
27
- # print(os.environ['dbname'],"2", type(os.environ['dbname']))
28
- print(os.environ['user'],"3")
29
- print(os.environ['password'],"4")
30
- print(os.environ['host'],"5", type(os.environ['host']))
31
- print(os.environ['port'],"6")
32
-
33
- os.environ['OPENAI_API_KEY']=os.getenv('OPENAI_API_KEY')
34
-
35
  OPENAI_API_KEY = os.getenv('OPENAI_API_KEY')
36
  GOOGLE_API_KEY = os.getenv('GOOGLE_API_KEY')
37
  openai.api_key = OPENAI_API_KEY
@@ -605,7 +596,7 @@ def process_gradio(query, model_type):
605
  # Ensure the function still returns four values, even in case of an error
606
  return {}, str(e), "", []
607
 
608
- image_path = r"C:\Users\shivanshu.t\Downloads\incedo-logo.png"
609
 
610
  with gr.Blocks() as demo:
611
  with gr.Row():
 
23
 
24
 
25
 
 
 
 
 
 
 
 
 
 
26
  OPENAI_API_KEY = os.getenv('OPENAI_API_KEY')
27
  GOOGLE_API_KEY = os.getenv('GOOGLE_API_KEY')
28
  openai.api_key = OPENAI_API_KEY
 
596
  # Ensure the function still returns four values, even in case of an error
597
  return {}, str(e), "", []
598
 
599
+ image_path = r"incedo-logo.png"
600
 
601
  with gr.Blocks() as demo:
602
  with gr.Row():