gutai123 commited on
Commit
5e00cdd
·
verified ·
1 Parent(s): 208acea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -7,11 +7,7 @@ from langchain_openai import OpenAI
7
  from langchain_huggingface import HuggingFaceEndpoint
8
 
9
  #When deployed on huggingface spaces, this values has to be passed using Variables & Secrets setting, as shown in the video :)
10
- #import os
11
- #os.environ["OPENAI_API_KEY"] = "sk-PLfFwPq6y24234234234FJ1Uc234234L8hVowXdt"
12
 
13
- import os
14
- os.environ["HUGGINGFACEHUB_API_TOKEN"] = "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"
15
 
16
  #Function to return the response
17
  def load_answer(question):
 
7
  from langchain_huggingface import HuggingFaceEndpoint
8
 
9
  #When deployed on huggingface spaces, this values has to be passed using Variables & Secrets setting, as shown in the video :)
 
 
10
 
 
 
11
 
12
  #Function to return the response
13
  def load_answer(question):