yangbh217 commited on
Commit
ef40030
1 Parent(s): 7506377

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ from langchain_community.llms import HuggingFaceHub
16
  from getpass import getpass
17
  import os
18
 
19
- HUGGINGFACEHUB_API_TOKEN = os.environ.getattribute("hf_api")
20
  os.environ["HUGGINGFACEHUB_API_TOKEN"] = HUGGINGFACEHUB_API_TOKEN
21
 
22
  def process_input(urls, question):
 
16
  from getpass import getpass
17
  import os
18
 
19
+ HUGGINGFACEHUB_API_TOKEN = os.getenv("hf_api")
20
  os.environ["HUGGINGFACEHUB_API_TOKEN"] = HUGGINGFACEHUB_API_TOKEN
21
 
22
  def process_input(urls, question):