Skip to content

Commit

Permalink
Use environmental variable for api keys
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingWithTim committed Dec 26, 2024
1 parent 85767e5 commit 27a986c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastchat/serve/gradio_block_arena_vision_anony.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def is_image(file_path):

def pdf_parse(pdf_path):
# Set API key, can also be configured in the environment
api_key = "LLAMA API"
api_key = os.environ["LLAMA_PARSE_KEY"]

# Initialize the LlamaParse object
parser = LlamaParse(
Expand Down

0 comments on commit 27a986c

Please sign in to comment.