jeremierostan commited on
Commit
4480940
·
verified ·
1 Parent(s): 40b235f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -12,12 +12,12 @@ from langchain.text_splitter import CharacterTextSplitter
12
  from langchain.docstore.document import Document
13
 
14
  # Set up API keys
15
- AIRTABLE_API_KEY = os.getenv["AIRTABLE_API_KEY"]
16
- OPENAI_API_KEY = os.getenv["OPENAI_API_KEY"]
17
 
18
- base_id = os.getenv["base_id"]
19
- table_id = os.getenv["table_id"]
20
- view = os.getenv["view"]
21
 
22
  def load_airtable_data() -> List[Dict]:
23
  """Load data from Airtable and return as a list of dictionaries."""
 
12
  from langchain.docstore.document import Document
13
 
14
  # Set up API keys
15
+ AIRTABLE_API_KEY = os.getenv("AIRTABLE_API_KEY")
16
+ OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
17
 
18
+ base_id = os.getenv("base_id")
19
+ table_id = os.getenv("table_id")
20
+ view = os.getenv("view")
21
 
22
  def load_airtable_data() -> List[Dict]:
23
  """Load data from Airtable and return as a list of dictionaries."""