diff --git a/fastchat/serve/gradio_block_arena_vision_anony.py b/fastchat/serve/gradio_block_arena_vision_anony.py index f589a53e0..5b05864c5 100644 --- a/fastchat/serve/gradio_block_arena_vision_anony.py +++ b/fastchat/serve/gradio_block_arena_vision_anony.py @@ -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(